Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 209.6 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8735/0.8735, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 66.2 kB / 0.6185 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1829, allocations: 85.91 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003271/0.1861, allocations: 1.919 MB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6771/0.8633, allocations: 158.9 MB / 0.8594 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.8634, allocations: 3.938 kB / 0.8594 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.8637, allocations: 31.67 kB / 0.8595 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.864, allocations: 79.41 kB / 0.8595 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.8648, allocations: 258.3 kB / 0.8598 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000331/0.8651, allocations: 251.3 kB / 0.86 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.8653, allocations: 59.72 kB / 0.8601 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.8668, allocations: 255.6 kB / 0.8603 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.867, allocations: 87.66 kB / 0.8604 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.867, allocations: 16 kB / 0.8604 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.8674, allocations: 191.7 kB / 0.8606 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.8675, allocations: 47.83 kB / 0.8607 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.8676, allocations: 87.58 kB / 0.8607 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.8682, allocations: 286.9 kB / 0.861 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8682, allocations: 0 / 0.861 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8682, allocations: 4 kB / 0.861 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8682, allocations: 0 / 0.861 GB, free: 4.352 MB / 0.6231 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.001047/0.8692, allocations: 453.4 kB / 0.8615 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8693, allocations: 8.031 kB / 0.8615 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.817e-05/0.8694, allocations: 50.55 kB / 0.8615 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.8706, allocations: 115.7 kB / 0.8616 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.8709, allocations: 163.3 kB / 0.8618 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.871, allocations: 75.61 kB / 0.8618 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.8711, allocations: 15.94 kB / 0.8619 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.8716, allocations: 262.6 kB / 0.8621 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.8716, allocations: 3.938 kB / 0.8621 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.8717, allocations: 11.98 kB / 0.8621 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8717, allocations: 4 kB / 0.8621 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.8721, allocations: 167.8 kB / 0.8623 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.8742, allocations: 1.141 MB / 0.8634 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.875, allocations: 198.6 kB / 0.8636 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.8753, allocations: 68.81 kB / 0.8637 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.8753, allocations: 0 / 0.8637 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.8753, allocations: 34.56 kB / 0.8637 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.8753, allocations: 0 / 0.8637 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=12): time 0.00291/0.8783, allocations: 482.7 kB / 0.8642 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.8783, allocations: 63.39 kB / 0.8642 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.8786, allocations: 199.5 kB / 0.8644 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.8787, allocations: 29.7 kB / 0.8644 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.8788, allocations: 147.4 kB / 0.8646 GB, free: 484 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.8788, allocations: 43.67 kB / 0.8646 GB, free: 440 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.8789, allocations: 49.64 kB / 0.8647 GB, free: 384 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.8791, allocations: 334.8 kB / 0.865 GB, free: 40 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.8793, allocations: 71.95 kB / 0.8651 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.8796, allocations: 128.2 kB / 0.8652 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.88, allocations: 198.7 kB / 0.8654 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.88, allocations: 0 / 0.8654 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001476/0.8815, allocations: 377.7 kB / 0.8657 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8815, allocations: 8 kB / 0.8657 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8816, allocations: 0 / 0.8657 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.8826, allocations: 165.8 kB / 0.8659 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.8829, allocations: 35.91 kB / 0.8659 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.8871, allocations: 3.049 MB / 0.8689 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.8874, allocations: 40.05 kB / 0.8689 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.8875, allocations: 11.98 kB / 0.869 GB, free: 11.67 MB / 0.6387 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.0001702/0.8876, allocations: 133.7 kB / 0.8691 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.8877, allocations: 19.89 kB / 0.8691 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8891, allocations: 376.2 kB / 0.8695 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.8891, allocations: 8 kB / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.8891, allocations: 0 / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8891, allocations: 0 / 0.8695 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.8894, allocations: 240.5 kB / 0.8697 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8894, allocations: 0 / 0.8697 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.8895, allocations: 31.91 kB / 0.8697 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008162/0.8904, allocations: 133.6 kB / 0.8699 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.8904, allocations: 12 kB / 0.8699 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.8943, allocations: 3.09 MB / 0.8729 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8943, allocations: 0 / 0.8729 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.8956, allocations: 432.8 kB / 0.8733 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.8957, allocations: 31.83 kB / 0.8733 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.8958, allocations: 7.938 kB / 0.8733 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.8961, allocations: 11.98 kB / 0.8733 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.8961, allocations: 19.91 kB / 0.8734 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.8962, allocations: 7.984 kB / 0.8734 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000206/0.8964, allocations: 152.2 kB / 0.8735 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.8964, allocations: 0 / 0.8735 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004252/0.8968, allocations: 67.94 kB / 0.8736 GB, free: 6.602 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 (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.001849/0.8986, allocations: 0.9695 MB / 0.8745 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.8998, allocations: 441.8 kB / 0.8749 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8998, allocations: 0 / 0.8749 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.9005, allocations: 361.1 kB / 0.8753 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.901, allocations: 70.31 kB / 0.8754 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.9066, allocations: 2.502 MB / 0.8778 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.907, allocations: 0.7285 MB / 0.8785 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.9072, allocations: 33.98 kB / 0.8785 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.9073, allocations: 59.41 kB / 0.8786 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/0.9073, allocations: 0 / 0.8786 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.951, allocations: 7.533 MB / 0.886 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.93, allocations: 3.781 kB / 0.886 GB, free: 9.875 MB / 0.6544 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.79753619099938] Failed to read output from testmodel.py, exit status != 0: 14.048787844003527 14.069741169 13.196842215 Calling exit ...