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.008835/0.008835, allocations: 102 kB / 15.73 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.002056/0.002057, allocations: 197.9 kB / 16.67 MB, free: 6.352 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.5 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3868, allocations: 81.02 MB / 0.6649 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002239/0.389, allocations: 1.636 MB / 0.6665 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.5751, allocations: 149.7 MB / 0.8126 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.5752, allocations: 4 kB / 0.8126 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.5754, allocations: 19.8 kB / 0.8127 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.5757, allocations: 55.64 kB / 0.8127 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.5762, allocations: 183.3 kB / 0.8129 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.5765, allocations: 155.5 kB / 0.813 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.5766, allocations: 35.44 kB / 0.8131 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.5779, allocations: 186.8 kB / 0.8133 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.578, allocations: 67.73 kB / 0.8133 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.5781, allocations: 8 kB / 0.8133 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.5784, allocations: 155.8 kB / 0.8135 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.5785, allocations: 31.89 kB / 0.8135 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.5786, allocations: 47.73 kB / 0.8135 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.5789, allocations: 200.6 kB / 0.8137 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.579, allocations: 3.938 kB / 0.8137 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/0.579, allocations: 0 / 0.8137 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.579, allocations: 0 / 0.8137 GB, free: 7.891 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.0009069/0.5799, allocations: 462.7 kB / 0.8142 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5799, allocations: 12.03 kB / 0.8142 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.58, allocations: 34.75 kB / 0.8142 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.5806, allocations: 60.53 kB / 0.8143 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.5809, allocations: 206.9 kB / 0.8145 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5809, allocations: 4 kB / 0.8145 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.5809, allocations: 8 kB / 0.8145 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.5814, allocations: 187.8 kB / 0.8147 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5814, allocations: 0 / 0.8147 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5815, allocations: 0 / 0.8147 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5815, allocations: 4 kB / 0.8147 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.582, allocations: 147.7 kB / 0.8148 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.5833, allocations: 0.8245 MB / 0.8156 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.5837, allocations: 130.4 kB / 0.8158 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.584, allocations: 80.8 kB / 0.8158 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.584, allocations: 8.078 kB / 0.8158 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.5841, allocations: 38.56 kB / 0.8159 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.5841, allocations: 0 / 0.8159 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.002037/0.5861, allocations: 455.2 kB / 0.8163 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.5862, allocations: 63.34 kB / 0.8164 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5864, allocations: 141.8 kB / 0.8165 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.5864, allocations: 25.7 kB / 0.8165 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5865, allocations: 108.1 kB / 0.8166 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.5866, allocations: 27.78 kB / 0.8167 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.5867, allocations: 37.66 kB / 0.8167 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5869, allocations: 318.8 kB / 0.817 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5871, allocations: 67.94 kB / 0.8171 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.5874, allocations: 108.2 kB / 0.8172 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.588, allocations: 188.1 kB / 0.8173 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.588, allocations: 4 kB / 0.8173 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001093/0.5891, allocations: 270.2 kB / 0.8176 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.5891, allocations: 11.94 kB / 0.8176 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5891, allocations: 0 / 0.8176 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/0.5898, allocations: 88.83 kB / 0.8177 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.59, allocations: 31.95 kB / 0.8177 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.5924, allocations: 1.662 MB / 0.8194 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5926, allocations: 27.94 kB / 0.8194 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.5927, allocations: 11.92 kB / 0.8194 GB, free: 1.625 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.0001494/0.5928, allocations: 121.8 kB / 0.8195 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5929, allocations: 7.953 kB / 0.8195 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.594, allocations: 314.9 kB / 0.8198 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.594, allocations: 0 / 0.8198 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.594, allocations: 0 / 0.8198 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.594, allocations: 0 / 0.8198 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.5944, allocations: 241.5 kB / 0.82 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5944, allocations: 0 / 0.82 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.5946, allocations: 27.97 kB / 0.8201 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.5951, allocations: 76.77 kB / 0.8201 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.5951, allocations: 11.88 kB / 0.8202 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.5972, allocations: 1.682 MB / 0.8218 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5972, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.5983, allocations: 382.1 kB / 0.8222 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.5984, allocations: 89 kB / 0.8222 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5984, allocations: 4 kB / 0.8223 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.5987, allocations: 23.84 kB / 0.8223 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.5987, allocations: 15.98 kB / 0.8223 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.5988, allocations: 7.984 kB / 0.8223 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.5988, allocations: 103.3 kB / 0.8224 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.692e-06/0.5989, allocations: 0 / 0.8224 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003368/0.5992, allocations: 55.83 kB / 0.8225 GB, free: 14.24 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.001488/0.6007, allocations: 0.9161 MB / 0.8233 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009402/0.6017, allocations: 300.7 kB / 0.8236 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6017, allocations: 256 / 0.8236 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/0.6022, allocations: 246.5 kB / 0.8239 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.6026, allocations: 22.77 kB / 0.8239 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.6067, allocations: 2.053 MB / 0.8259 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.6071, allocations: 0.7046 MB / 0.8266 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.6072, allocations: 25 kB / 0.8266 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.6073, allocations: 35.42 kB / 0.8266 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of SimCode: time 6.61e-07/0.6073, allocations: 4 kB / 0.8266 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.6388, allocations: 4.757 MB / 0.8313 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.7, allocations: 0.8906 kB / 0.8313 GB, free: 5.176 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)