Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001644/0.001643, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9859/0.9859, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.03 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1749, allocations: 80.92 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003415/0.1784, allocations: 1.868 MB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4501/0.6285, allocations: 155.4 MB / 0.738 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.6288, allocations: 5.125 kB / 0.7381 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.6291, allocations: 28.38 kB / 0.7381 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.6295, allocations: 72.69 kB / 0.7381 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.6305, allocations: 260.7 kB / 0.7384 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.631, allocations: 254.3 kB / 0.7386 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.6312, allocations: 75.47 kB / 0.7387 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.6325, allocations: 232.1 kB / 0.7389 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.6327, allocations: 93.2 kB / 0.739 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.6328, allocations: 15.03 kB / 0.739 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.6332, allocations: 183.3 kB / 0.7392 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.6333, allocations: 48.92 kB / 0.7393 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.6334, allocations: 85.38 kB / 0.7393 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.6339, allocations: 270.6 kB / 0.7396 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6339, allocations: 1.125 kB / 0.7396 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6339, allocations: 0 / 0.7396 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.6339, allocations: 0.6562 kB / 0.7396 GB, free: 10.26 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009852/0.6349, allocations: 0.5063 MB / 0.7401 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.635, allocations: 9.156 kB / 0.7401 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.6351, allocations: 54.02 kB / 0.7402 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/0.636, allocations: 85.84 kB / 0.7402 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.6363, allocations: 221 kB / 0.7404 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.6364, allocations: 44.41 kB / 0.7405 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.6364, allocations: 15.31 kB / 0.7405 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.6371, allocations: 259.8 kB / 0.7407 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6371, allocations: 11.34 kB / 0.7408 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.6371, allocations: 10.12 kB / 0.7408 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.6372, allocations: 7.359 kB / 0.7408 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.6377, allocations: 165.7 kB / 0.7409 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.6397, allocations: 1.176 MB / 0.7421 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.6405, allocations: 212.8 kB / 0.7423 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.6407, allocations: 71.25 kB / 0.7424 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.6407, allocations: 1.281 kB / 0.7424 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6408, allocations: 32.06 kB / 0.7424 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.6408, allocations: 1.062 kB / 0.7424 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.002717/0.6435, allocations: 0.6282 MB / 0.743 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.6436, allocations: 53.19 kB / 0.7431 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.6438, allocations: 194.7 kB / 0.7432 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.6439, allocations: 31.8 kB / 0.7433 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.644, allocations: 143.6 kB / 0.7434 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.644, allocations: 45.42 kB / 0.7434 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.6441, allocations: 39.41 kB / 0.7435 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6443, allocations: 338 kB / 0.7438 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.6445, allocations: 74.41 kB / 0.7439 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.6448, allocations: 132.9 kB / 0.744 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.6453, allocations: 204.7 kB / 0.7442 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.6453, allocations: 0 / 0.7442 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001496/0.6468, allocations: 371.8 kB / 0.7446 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.6468, allocations: 7.688 kB / 0.7446 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6468, allocations: 2.75 kB / 0.7446 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.6479, allocations: 161.4 kB / 0.7447 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.6482, allocations: 39.97 kB / 0.7448 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/0.6521, allocations: 3.247 MB / 0.7479 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.6525, allocations: 45.91 kB / 0.748 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.6526, allocations: 15.05 kB / 0.748 GB, free: 2.875 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.6527, allocations: 127.2 kB / 0.7481 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.6528, allocations: 14.97 kB / 0.7481 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.6541, allocations: 371.1 kB / 0.7485 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6541, allocations: 2.75 kB / 0.7485 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.6542, allocations: 4 kB / 0.7485 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6542, allocations: 5.359 kB / 0.7485 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6545, allocations: 263.6 kB / 0.7487 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6545, allocations: 2.406 kB / 0.7487 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.6546, allocations: 23.05 kB / 0.7488 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.6555, allocations: 139.9 kB / 0.7489 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.6555, allocations: 6.219 kB / 0.7489 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.6592, allocations: 3.307 MB / 0.7521 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6592, allocations: 0 / 0.7521 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.6605, allocations: 429.2 kB / 0.7525 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6606, allocations: 116 kB / 0.7527 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.6607, allocations: 7.938 kB / 0.7527 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.661, allocations: 15.61 kB / 0.7527 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.6611, allocations: 24.34 kB / 0.7527 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.6611, allocations: 4.938 kB / 0.7527 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001643/0.6613, allocations: 147.6 kB / 0.7528 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6613, allocations: 0 / 0.7528 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004273/0.6617, allocations: 73.91 kB / 0.7529 GB, free: 14.36 MB / 0.5762 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/0.6633, allocations: 0.9749 MB / 0.7539 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.6644, allocations: 452.8 kB / 0.7543 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6644, allocations: 2.562 kB / 0.7543 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.6651, allocations: 368.7 kB / 0.7547 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.6655, allocations: 65.59 kB / 0.7547 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.6704, allocations: 2.501 MB / 0.7572 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.6707, allocations: 0.733 MB / 0.7579 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.6709, allocations: 35.91 kB / 0.7579 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.671, allocations: 55.41 kB / 0.758 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.671, allocations: 0 / 0.758 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.6995, allocations: 7.179 MB / 0.765 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.94, allocations: 2.344 kB / 0.765 GB, free: 3.113 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_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_TDryBulPhi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)