Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008824/0.008824, allocations: 104.3 kB / 15.74 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9133/0.9133, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4514, allocations: 80.91 MB / 0.6642 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001914/0.4534, allocations: 1.286 MB / 0.6654 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.6177, allocations: 147.6 MB / 0.8096 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.6178, allocations: 0 / 0.8096 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.6179, allocations: 3.938 kB / 0.8096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.6179, allocations: 7.922 kB / 0.8096 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.6184, allocations: 115.5 kB / 0.8097 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.6185, allocations: 19.88 kB / 0.8097 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.6186, allocations: 4 kB / 0.8097 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.6186, allocations: 11.94 kB / 0.8098 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.6187, allocations: 3.984 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.6187, allocations: 4 kB / 0.8098 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.6191, allocations: 167.7 kB / 0.8099 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.6191, allocations: 7.938 kB / 0.8099 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.6192, allocations: 8 kB / 0.8099 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.6194, allocations: 113.9 kB / 0.8101 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6194, allocations: 0 / 0.8101 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6194, allocations: 0 / 0.8101 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6195, allocations: 4 kB / 0.8101 GB, free: 11.66 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003728/0.6198, allocations: 347.5 kB / 0.8104 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6199, allocations: 8.031 kB / 0.8104 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.6199, allocations: 30.75 kB / 0.8104 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.6205, allocations: 36.89 kB / 0.8105 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.6206, allocations: 176 kB / 0.8106 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.6206, allocations: 4 kB / 0.8106 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.6207, allocations: 3.938 kB / 0.8106 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.6208, allocations: 45.66 kB / 0.8107 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6208, allocations: 0 / 0.8107 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6209, allocations: 4 kB / 0.8107 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.6209, allocations: 3.938 kB / 0.8107 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.621, allocations: 19.98 kB / 0.8107 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.6214, allocations: 252.9 kB / 0.8109 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.081e-05/0.6214, allocations: 22.58 kB / 0.811 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.6215, allocations: 8.922 kB / 0.811 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.6215, allocations: 0 / 0.811 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6215, allocations: 34.56 kB / 0.811 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.6215, allocations: 11.92 kB / 0.811 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.6217, allocations: 41.69 kB / 0.8111 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.6217, allocations: 51.41 kB / 0.8111 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.6218, allocations: 113.8 kB / 0.8112 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.6219, allocations: 25.7 kB / 0.8112 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.6219, allocations: 91.98 kB / 0.8113 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.622, allocations: 8.031 kB / 0.8113 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.622, allocations: 21.64 kB / 0.8114 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6221, allocations: 322.8 kB / 0.8117 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.6222, allocations: 4 kB / 0.8117 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.6222, allocations: 11.98 kB / 0.8117 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.235e-05/0.6223, allocations: 24.78 kB / 0.8117 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6223, allocations: 4 kB / 0.8117 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001915/0.6225, allocations: 57.67 kB / 0.8118 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6226, allocations: 4 kB / 0.8118 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6226, allocations: 3.984 kB / 0.8118 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6226, allocations: 0 / 0.8118 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.6227, allocations: 8 kB / 0.8118 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6227, allocations: 0 / 0.8118 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.6229, allocations: 15.92 kB / 0.8118 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.6229, allocations: 0 / 0.8118 GB, free: 9.641 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.623, allocations: 117.8 kB / 0.8119 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.623, allocations: 0 / 0.8119 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.623, allocations: 3.125 kB / 0.8119 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.623, allocations: 3.938 kB / 0.8119 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.623, allocations: 7.938 kB / 0.8119 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.623, allocations: 3.938 kB / 0.8119 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.6232, allocations: 153.7 kB / 0.8121 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6232, allocations: 4 kB / 0.8121 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.6232, allocations: 4 kB / 0.8121 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6233, allocations: 0 / 0.8121 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.6233, allocations: 4 kB / 0.8121 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6233, allocations: 0 / 0.8121 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6233, allocations: 0 / 0.8121 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.6234, allocations: 139.4 kB / 0.8122 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.6235, allocations: 85.14 kB / 0.8123 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6235, allocations: 0 / 0.8123 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.6236, allocations: 3.984 kB / 0.8123 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.6236, allocations: 3.938 kB / 0.8123 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.6236, allocations: 4 kB / 0.8123 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.307e-05/0.6237, allocations: 91.27 kB / 0.8124 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6237, allocations: 3.938 kB / 0.8124 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002397/0.624, allocations: 16 kB / 0.8124 GB, free: 8.906 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004625/0.6244, allocations: 0.6825 MB / 0.8131 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.6246, allocations: 20.45 kB / 0.8131 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6246, allocations: 0 / 0.8131 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.6246, allocations: 11.97 kB / 0.8131 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.6249, allocations: 11.88 kB / 0.8131 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.6254, allocations: 148.9 kB / 0.8133 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.6257, allocations: 0.6768 MB / 0.8139 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.6258, allocations: 16.12 kB / 0.8139 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.6258, allocations: 7.438 kB / 0.8139 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.6258, allocations: 4 kB / 0.814 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.6437, allocations: 1.581 MB / 0.8155 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/8.031, allocations: 11.8 kB / 0.8155 GB, free: 5.758 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)