Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001078/0.001078, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0008725/0.0008725, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.955/0.955, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7733/0.7733, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_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.0008979/0.0008979, allocations: 66.69 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5044/0.5053, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002015/0.5073, allocations: 1.635 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.6469, allocations: 133.2 MB / 0.9495 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.647, allocations: 0 / 0.9495 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.6472, allocations: 15.8 kB / 0.9495 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.6474, allocations: 43.72 kB / 0.9495 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.6478, allocations: 151.4 kB / 0.9497 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.648, allocations: 127.6 kB / 0.9498 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.6481, allocations: 17.58 kB / 0.9498 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.6489, allocations: 184.1 kB / 0.95 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.6489, allocations: 39.78 kB / 0.95 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.6489, allocations: 4 kB / 0.95 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.6492, allocations: 175.7 kB / 0.9502 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.6493, allocations: 27.91 kB / 0.9502 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.6493, allocations: 43.73 kB / 0.9503 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.6496, allocations: 185.6 kB / 0.9504 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6496, allocations: 4 kB / 0.9504 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6496, allocations: 0 / 0.9504 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6496, allocations: 0 / 0.9504 GB, free: 13.42 MB / 0.7292 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.000458/0.65, allocations: 369.5 kB / 0.9508 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.6501, allocations: 12.03 kB / 0.9508 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.6501, allocations: 38.73 kB / 0.9508 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005102/0.6506, allocations: 87.8 kB / 0.9509 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.6508, allocations: 154.8 kB / 0.9511 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6508, allocations: 8 kB / 0.9511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.6508, allocations: 7.938 kB / 0.9511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.6511, allocations: 141.5 kB / 0.9512 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.6511, allocations: 0 / 0.9512 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.6511, allocations: 3.938 kB / 0.9512 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6511, allocations: 4 kB / 0.9512 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.6514, allocations: 150.3 kB / 0.9514 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005157/0.6519, allocations: 355.8 kB / 0.9517 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.6523, allocations: 170.6 kB / 0.9519 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.6524, allocations: 72.8 kB / 0.9519 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.6524, allocations: 4 kB / 0.9519 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.6524, allocations: 30.56 kB / 0.952 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.6524, allocations: 0 / 0.952 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004325/0.6529, allocations: 217.4 kB / 0.9522 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6529, allocations: 59.33 kB / 0.9522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.653, allocations: 145.8 kB / 0.9524 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.653, allocations: 29.7 kB / 0.9524 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.653, allocations: 100.1 kB / 0.9525 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.6531, allocations: 27.75 kB / 0.9525 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.6531, allocations: 25.7 kB / 0.9526 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.6532, allocations: 326.8 kB / 0.9529 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6533, allocations: 63.88 kB / 0.9529 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.6534, allocations: 125.9 kB / 0.953 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.6536, allocations: 124.8 kB / 0.9532 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6537, allocations: 0 / 0.9532 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002518/0.6539, allocations: 157.9 kB / 0.9533 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6539, allocations: 8 kB / 0.9533 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.6539, allocations: 0 / 0.9533 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6539, allocations: 4 kB / 0.9533 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.654, allocations: 27.97 kB / 0.9534 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6541, allocations: 4.016 kB / 0.9534 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.6541, allocations: 23.92 kB / 0.9534 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6541, allocations: 7.922 kB / 0.9534 GB, free: 10.18 MB / 0.7292 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 9.546e-05/0.6542, allocations: 118.5 kB / 0.9535 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.6542, allocations: 15.95 kB / 0.9535 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.6543, allocations: 16.7 kB / 0.9535 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.6543, allocations: 0 / 0.9535 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6543, allocations: 0 / 0.9535 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6543, allocations: 0 / 0.9535 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.6548, allocations: 429.3 kB / 0.9539 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6548, allocations: 0 / 0.9539 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.6549, allocations: 27.97 kB / 0.954 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6549, allocations: 0 / 0.954 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.6549, allocations: 3.984 kB / 0.954 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.6549, allocations: 7.938 kB / 0.954 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6549, allocations: 0 / 0.954 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.6552, allocations: 263.3 kB / 0.9542 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.6552, allocations: 7.953 kB / 0.9542 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.6552, allocations: 0 / 0.9542 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.6553, allocations: 19.92 kB / 0.9543 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.6553, allocations: 11.98 kB / 0.9543 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.6553, allocations: 3.984 kB / 0.9543 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.6554, allocations: 111.3 kB / 0.9544 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.6554, allocations: 0 / 0.9544 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001884/0.6556, allocations: 31.89 kB / 0.9544 GB, free: 9.062 MB / 0.7292 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.0005025/0.6561, allocations: 0.8021 MB / 0.9552 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.6564, allocations: 119.9 kB / 0.9553 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6564, allocations: 0 / 0.9553 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.6565, allocations: 67.88 kB / 0.9554 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.6567, allocations: 36.41 kB / 0.9554 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.6584, allocations: 1.751 MB / 0.9571 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.6584, allocations: 88.19 kB / 0.9572 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.928e-05/0.6585, allocations: 32.39 kB / 0.9572 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.6586, allocations: 31.42 kB / 0.9573 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/0.6586, allocations: 0 / 0.9573 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.6744, allocations: 4.067 MB / 0.9612 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/7.357, allocations: 19.14 kB / 0.9613 GB, free: 2.086 MB / 0.7292 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.262704617343843] Failed to read output from testmodel.py, exit status != 0: 7.434425665996969 7.444435408 6.792998486 Calling exit ...