Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001345/0.001345, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001739/0.001739, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.98 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.8782/0.8782, allocations: 134 MB / 446.4 MB, free: 10.17 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.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001949/0.001949, allocations: 61.84 kB / 0.6185 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 85.92 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003342/0.1787, allocations: 1.665 MB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5799/0.7587, allocations: 154.9 MB / 0.8554 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.7588, allocations: 0 / 0.8554 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.759, allocations: 23.8 kB / 0.8554 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.7593, allocations: 43.69 kB / 0.8554 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.7598, allocations: 152.7 kB / 0.8556 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00024/0.76, allocations: 119.6 kB / 0.8557 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.7602, allocations: 25.56 kB / 0.8557 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.7616, allocations: 177.2 kB / 0.8559 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.7617, allocations: 47.77 kB / 0.8559 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.7617, allocations: 8 kB / 0.8559 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.7622, allocations: 183.7 kB / 0.8561 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.551e-05/0.7622, allocations: 19.92 kB / 0.8561 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.7623, allocations: 47.73 kB / 0.8562 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.7627, allocations: 207.2 kB / 0.8564 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7627, allocations: 0 / 0.8564 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7627, allocations: 3.938 kB / 0.8564 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.7627, allocations: 3.984 kB / 0.8564 GB, free: 9 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007308/0.7634, allocations: 369.5 kB / 0.8567 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7635, allocations: 12.03 kB / 0.8567 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.7635, allocations: 34.94 kB / 0.8568 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.7646, allocations: 91.78 kB / 0.8569 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.7649, allocations: 145 kB / 0.857 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.7649, allocations: 15.94 kB / 0.857 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.7649, allocations: 4 kB / 0.857 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.7654, allocations: 137.5 kB / 0.8571 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.7654, allocations: 0 / 0.8571 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.7654, allocations: 0 / 0.8571 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7654, allocations: 7.938 kB / 0.8572 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.766, allocations: 139.9 kB / 0.8573 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.7668, allocations: 384 kB / 0.8577 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.7675, allocations: 166.6 kB / 0.8578 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.7678, allocations: 72.73 kB / 0.8579 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.7678, allocations: 0 / 0.8579 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.7678, allocations: 42.5 kB / 0.8579 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.7678, allocations: 4 kB / 0.8579 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.0008198/0.7687, allocations: 221.4 kB / 0.8581 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.7687, allocations: 51.41 kB / 0.8582 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.7689, allocations: 145.8 kB / 0.8583 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7689, allocations: 25.7 kB / 0.8583 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.769, allocations: 108.2 kB / 0.8585 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.769, allocations: 27.73 kB / 0.8585 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.7691, allocations: 21.72 kB / 0.8585 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.7693, allocations: 330.8 kB / 0.8588 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.7695, allocations: 59.88 kB / 0.8589 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.7698, allocations: 76.16 kB / 0.8589 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.7702, allocations: 116.8 kB / 0.8591 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7702, allocations: 0 / 0.8591 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005168/0.7707, allocations: 165.5 kB / 0.8592 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7707, allocations: 6.188 kB / 0.8592 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7707, allocations: 0 / 0.8592 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.7708, allocations: 4 kB / 0.8592 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.771, allocations: 27.91 kB / 0.8593 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.771, allocations: 4.484 kB / 0.8593 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.7712, allocations: 27.92 kB / 0.8593 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.7712, allocations: 0 / 0.8593 GB, free: 5.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.7713, allocations: 125.8 kB / 0.8594 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.7714, allocations: 7.953 kB / 0.8594 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.7714, allocations: 20.64 kB / 0.8594 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7714, allocations: 0 / 0.8594 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7714, allocations: 0 / 0.8594 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.7714, allocations: 4 kB / 0.8594 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009094/0.7723, allocations: 437.3 kB / 0.8598 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7723, allocations: 0 / 0.8598 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.7725, allocations: 31.97 kB / 0.8599 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7725, allocations: 0 / 0.8599 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.7725, allocations: 0 / 0.8599 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7726, allocations: 3.938 kB / 0.8599 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7726, allocations: 7.984 kB / 0.8599 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.7731, allocations: 263.3 kB / 0.8601 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.7731, allocations: 11.89 kB / 0.8602 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.7732, allocations: 0 / 0.8602 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.7733, allocations: 23.91 kB / 0.8602 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.7734, allocations: 7.984 kB / 0.8602 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.7734, allocations: 0 / 0.8602 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001048/0.7735, allocations: 122.3 kB / 0.8603 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.7735, allocations: 0 / 0.8603 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002753/0.7738, allocations: 31.89 kB / 0.8603 GB, free: 4.676 MB / 0.6231 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009088/0.7747, allocations: 0.7866 MB / 0.8611 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005673/0.7753, allocations: 127.8 kB / 0.8612 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7753, allocations: 4 kB / 0.8612 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.7755, allocations: 59.94 kB / 0.8613 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.7759, allocations: 41.22 kB / 0.8613 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.7788, allocations: 1.743 MB / 0.863 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.7791, allocations: 0.7049 MB / 0.8637 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.7793, allocations: 28.41 kB / 0.8637 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.7793, allocations: 31.42 kB / 0.8638 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.7793, allocations: 0 / 0.8638 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.8091, allocations: 3.505 MB / 0.8672 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.97, allocations: 10.86 kB / 0.8672 GB, free: 13.66 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.565371612086892] Failed to read output from testmodel.py, exit status != 0: 12.072611563140526 12.088518313 11.322604383 Calling exit ...