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.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001139/0.001139, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.149/1.149, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.775/0.775, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 64.81 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1143, allocations: 80.92 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.00221/0.1165, allocations: 1.697 MB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3042/0.4207, allocations: 147.4 MB / 0.7294 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.4208, allocations: 1.125 kB / 0.7294 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.421, allocations: 25.83 kB / 0.7294 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.4212, allocations: 39.62 kB / 0.7295 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.4216, allocations: 157.9 kB / 0.7296 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4218, allocations: 146.3 kB / 0.7297 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4219, allocations: 37.25 kB / 0.7298 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4235, allocations: 171.4 kB / 0.7299 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.4236, allocations: 58.16 kB / 0.73 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.4237, allocations: 9.969 kB / 0.73 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.424, allocations: 158.8 kB / 0.7302 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.424, allocations: 25.39 kB / 0.7302 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.4241, allocations: 50.42 kB / 0.7302 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.4243, allocations: 192.5 kB / 0.7304 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4244, allocations: 0 / 0.7304 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4244, allocations: 0 / 0.7304 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4244, allocations: 2.875 kB / 0.7304 GB, free: 0.7188 MB / 0.545 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.0007237/0.4251, allocations: 462.9 kB / 0.7309 GB, free: 320 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.4251, allocations: 9.156 kB / 0.7309 GB, free: 320 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.4252, allocations: 40.34 kB / 0.7309 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.4258, allocations: 53.8 kB / 0.731 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.4259, allocations: 211.2 kB / 0.7312 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-06/0.4259, allocations: 3.344 kB / 0.7312 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.426, allocations: 9.75 kB / 0.7312 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.4264, allocations: 183.1 kB / 0.7314 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4264, allocations: 1.344 kB / 0.7314 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.4264, allocations: 8.812 kB / 0.7314 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4264, allocations: 3.203 kB / 0.7314 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.4269, allocations: 146.4 kB / 0.7315 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.4278, allocations: 0.8186 MB / 0.7323 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4282, allocations: 130.6 kB / 0.7324 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.4284, allocations: 79.52 kB / 0.7325 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.4285, allocations: 1.125 kB / 0.7325 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4285, allocations: 32.58 kB / 0.7325 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.4285, allocations: 4.906 kB / 0.7325 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001781/0.4303, allocations: 461.3 kB / 0.733 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.4303, allocations: 53.03 kB / 0.733 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.4304, allocations: 142.7 kB / 0.7332 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4304, allocations: 29.7 kB / 0.7332 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.4305, allocations: 107.5 kB / 0.7333 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.4305, allocations: 34.34 kB / 0.7333 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.4306, allocations: 32.61 kB / 0.7334 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.4307, allocations: 320 kB / 0.7337 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.4309, allocations: 68.73 kB / 0.7337 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.4311, allocations: 109.9 kB / 0.7338 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.4316, allocations: 176.6 kB / 0.734 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4316, allocations: 0 / 0.734 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009504/0.4326, allocations: 279.4 kB / 0.7343 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4326, allocations: 12.27 kB / 0.7343 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.4326, allocations: 1.469 kB / 0.7343 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.4331, allocations: 84.38 kB / 0.7344 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.4334, allocations: 37.67 kB / 0.7344 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.4351, allocations: 1.547 MB / 0.7359 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4353, allocations: 29.48 kB / 0.7359 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4353, allocations: 4.719 kB / 0.7359 GB, free: 12.41 MB / 0.5606 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 8.488e-05/0.4354, allocations: 121 kB / 0.7361 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.4355, allocations: 8.875 kB / 0.7361 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009756/0.4364, allocations: 321.3 kB / 0.7364 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4364, allocations: 1.188 kB / 0.7364 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.4365, allocations: 1.25 kB / 0.7364 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4365, allocations: 6.281 kB / 0.7364 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.4367, allocations: 229.9 kB / 0.7366 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4367, allocations: 1.25 kB / 0.7366 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.4369, allocations: 37.77 kB / 0.7366 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.4374, allocations: 80.78 kB / 0.7367 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4374, allocations: 7.516 kB / 0.7367 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.4389, allocations: 1.57 MB / 0.7383 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.439, allocations: 5.156 kB / 0.7383 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/0.4399, allocations: 379.2 kB / 0.7386 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.4399, allocations: 89.8 kB / 0.7387 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.44, allocations: 1.156 kB / 0.7387 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4402, allocations: 20.36 kB / 0.7387 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.4402, allocations: 11.08 kB / 0.7387 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4402, allocations: 13.34 kB / 0.7388 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.967e-05/0.4403, allocations: 108.2 kB / 0.7389 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4403, allocations: 0 / 0.7389 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002916/0.4406, allocations: 44.19 kB / 0.7389 GB, free: 10.07 MB / 0.5606 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.001191/0.4418, allocations: 0.9243 MB / 0.7398 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000728/0.4425, allocations: 308.5 kB / 0.7401 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4425, allocations: 0 / 0.7401 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.443, allocations: 238 kB / 0.7403 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4433, allocations: 33.11 kB / 0.7404 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.4466, allocations: 2.067 MB / 0.7424 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.4468, allocations: 0.7082 MB / 0.7431 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.447, allocations: 29.03 kB / 0.7431 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.447, allocations: 33.02 kB / 0.7431 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.447, allocations: 3.938 kB / 0.7431 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.902/2.349, allocations: 4.284 MB / 0.7473 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000345/2.349, allocations: 236.4 kB / 0.7475 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/4.391, allocations: 0 / 0.7475 GB, free: 4.148 MB / 0.5606 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)