Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.007029/0.007029, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001658/0.001658, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.944/0.944, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4382, allocations: 80.91 MB / 0.6641 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002257/0.4405, allocations: 1.662 MB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.6092, allocations: 149.7 MB / 0.8119 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.6094, allocations: 7.938 kB / 0.8119 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.6096, allocations: 23.8 kB / 0.812 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.6099, allocations: 51.64 kB / 0.812 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.6104, allocations: 175.4 kB / 0.8122 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.6107, allocations: 163.5 kB / 0.8123 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.6108, allocations: 38.2 kB / 0.8124 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.6121, allocations: 184.6 kB / 0.8126 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.6123, allocations: 59.75 kB / 0.8126 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.6123, allocations: 8 kB / 0.8126 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.6126, allocations: 155.8 kB / 0.8128 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.6127, allocations: 27.91 kB / 0.8128 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.6127, allocations: 51.8 kB / 0.8128 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.6131, allocations: 203.4 kB / 0.813 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6131, allocations: 7.938 kB / 0.813 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6131, allocations: 0 / 0.813 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6132, allocations: 0 / 0.813 GB, free: 8.535 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008856/0.614, allocations: 459 kB / 0.8135 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6141, allocations: 8.031 kB / 0.8135 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.6142, allocations: 38.75 kB / 0.8135 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.6148, allocations: 60.53 kB / 0.8136 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.615, allocations: 202.8 kB / 0.8138 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.615, allocations: 4 kB / 0.8138 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.6151, allocations: 8 kB / 0.8138 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.6155, allocations: 185.7 kB / 0.814 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.6155, allocations: 4 kB / 0.814 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.6156, allocations: 4 kB / 0.814 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6156, allocations: 0 / 0.814 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.616, allocations: 147.7 kB / 0.8141 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.6172, allocations: 0.8206 MB / 0.8149 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.6176, allocations: 126.5 kB / 0.815 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.6178, allocations: 84.8 kB / 0.8151 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.6179, allocations: 0 / 0.8151 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.6179, allocations: 34.56 kB / 0.8152 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/0.6179, allocations: 3.984 kB / 0.8152 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001874/0.6198, allocations: 459.3 kB / 0.8156 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6198, allocations: 59.34 kB / 0.8156 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.62, allocations: 144.1 kB / 0.8158 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.62, allocations: 25.7 kB / 0.8158 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.767e-05/0.6201, allocations: 107.8 kB / 0.8159 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.6201, allocations: 27.64 kB / 0.8159 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.6202, allocations: 29.7 kB / 0.816 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6203, allocations: 322.8 kB / 0.8163 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.6205, allocations: 71.94 kB / 0.8163 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.6208, allocations: 104.2 kB / 0.8164 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.6213, allocations: 184.4 kB / 0.8166 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6213, allocations: 8 kB / 0.8166 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001008/0.6223, allocations: 274.1 kB / 0.8169 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6224, allocations: 11.92 kB / 0.8169 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6224, allocations: 4 kB / 0.8169 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.623, allocations: 84.89 kB / 0.817 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.6232, allocations: 31.95 kB / 0.817 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.6256, allocations: 1.665 MB / 0.8186 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.6258, allocations: 27.89 kB / 0.8187 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.6258, allocations: 15.92 kB / 0.8187 GB, free: 2.273 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.626, allocations: 113.8 kB / 0.8188 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.626, allocations: 8.094 kB / 0.8188 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.627, allocations: 325 kB / 0.8191 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.627, allocations: 4 kB / 0.8191 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.627, allocations: 0 / 0.8191 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6271, allocations: 0 / 0.8191 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.6273, allocations: 233.5 kB / 0.8193 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6274, allocations: 0 / 0.8193 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.6276, allocations: 35.91 kB / 0.8194 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/0.628, allocations: 72.77 kB / 0.8194 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.628, allocations: 7.938 kB / 0.8194 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.6299, allocations: 1.681 MB / 0.8211 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6299, allocations: 0 / 0.8211 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.6309, allocations: 384 kB / 0.8215 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.6309, allocations: 85.02 kB / 0.8215 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.6309, allocations: 0 / 0.8215 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.6312, allocations: 23.91 kB / 0.8216 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.6312, allocations: 11.98 kB / 0.8216 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.6313, allocations: 7.984 kB / 0.8216 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.6313, allocations: 109.7 kB / 0.8217 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6313, allocations: 4 kB / 0.8217 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003335/0.6317, allocations: 44 kB / 0.8217 GB, free: 14.91 MB / 0.6544 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.6331, allocations: 0.923 MB / 0.8226 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008706/0.634, allocations: 298.7 kB / 0.8229 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.634, allocations: 4 kB / 0.8229 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.6345, allocations: 230.5 kB / 0.8231 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.6348, allocations: 34.25 kB / 0.8232 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.6385, allocations: 2.058 MB / 0.8252 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.6389, allocations: 0.7046 MB / 0.8259 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.639, allocations: 25.09 kB / 0.8259 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.6391, allocations: 35.42 kB / 0.8259 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of SimCode: time 5.31e-07/0.6391, allocations: 4 kB / 0.8259 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.6681, allocations: 4.732 MB / 0.8306 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.66, allocations: 4.891 kB / 0.8306 GB, free: 5.852 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)