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.001421/0.001421, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001498/0.001498, allocations: 160.2 kB / 22.46 MB, free: 5.375 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.237/1.237, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.857e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003052/0.003081, allocations: 1.642 MB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5533/0.5564, allocations: 133.2 MB / 0.7502 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.5566, allocations: 1.094 kB / 0.7502 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.5568, allocations: 17.75 kB / 0.7503 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.5571, allocations: 47.48 kB / 0.7503 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.5577, allocations: 151.6 kB / 0.7505 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.5579, allocations: 128 kB / 0.7506 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.5581, allocations: 32.06 kB / 0.7506 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.5596, allocations: 182.4 kB / 0.7508 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.5597, allocations: 35.41 kB / 0.7508 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.5597, allocations: 7.188 kB / 0.7508 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.5602, allocations: 170.3 kB / 0.751 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.5602, allocations: 29.36 kB / 0.751 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.5603, allocations: 27.41 kB / 0.751 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.5608, allocations: 207.9 kB / 0.7512 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5608, allocations: 4.969 kB / 0.7512 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5608, allocations: 1.781 kB / 0.7512 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.5608, allocations: 0 / 0.7512 GB, free: 5.273 MB / 0.6075 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.0006722/0.5615, allocations: 381.2 kB / 0.7516 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5615, allocations: 10.12 kB / 0.7516 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5626, allocations: 86.72 kB / 0.7517 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.5628, allocations: 147.3 kB / 0.7518 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5628, allocations: 7.266 kB / 0.7518 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.5628, allocations: 9.656 kB / 0.7519 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.5633, allocations: 143.7 kB / 0.752 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5633, allocations: 0 / 0.752 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.5633, allocations: 3.766 kB / 0.752 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5633, allocations: 1.875 kB / 0.752 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.5639, allocations: 137 kB / 0.7521 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.5646, allocations: 342.1 kB / 0.7525 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/0.5653, allocations: 166.6 kB / 0.7526 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.5655, allocations: 71.47 kB / 0.7527 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.5655, allocations: 6.156 kB / 0.7527 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5656, allocations: 35.84 kB / 0.7527 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.5656, allocations: 0 / 0.7527 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008292/0.5664, allocations: 217.6 kB / 0.7529 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.5664, allocations: 52.56 kB / 0.753 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.5665, allocations: 135.9 kB / 0.7531 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.5665, allocations: 26.83 kB / 0.7531 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.5666, allocations: 108.3 kB / 0.7532 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5666, allocations: 26.19 kB / 0.7533 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.5667, allocations: 26.75 kB / 0.7533 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.5667, allocations: 322.3 kB / 0.7536 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.5669, allocations: 53.89 kB / 0.7536 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.5672, allocations: 133.7 kB / 0.7538 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.5676, allocations: 121.7 kB / 0.7539 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5676, allocations: 0 / 0.7539 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005015/0.5681, allocations: 158.6 kB / 0.754 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5681, allocations: 7.828 kB / 0.754 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5681, allocations: 0 / 0.754 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5681, allocations: 5.438 kB / 0.7541 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.5684, allocations: 30.78 kB / 0.7541 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5684, allocations: 0 / 0.7541 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5685, allocations: 22.48 kB / 0.7541 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5685, allocations: 3.828 kB / 0.7541 GB, free: 3.328 MB / 0.6075 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 7.243e-05/0.5686, allocations: 120.1 kB / 0.7542 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.5686, allocations: 13.3 kB / 0.7542 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.5687, allocations: 20.62 kB / 0.7543 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5687, allocations: 2.281 kB / 0.7543 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5687, allocations: 3.938 kB / 0.7543 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5687, allocations: 3.938 kB / 0.7543 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007383/0.5694, allocations: 397.3 kB / 0.7546 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5694, allocations: 0 / 0.7546 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.5696, allocations: 32.45 kB / 0.7547 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5696, allocations: 0 / 0.7547 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5696, allocations: 1.156 kB / 0.7547 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5696, allocations: 3.375 kB / 0.7547 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5696, allocations: 1.094 kB / 0.7547 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.5702, allocations: 262.2 kB / 0.7549 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.5702, allocations: 9.438 kB / 0.7549 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5702, allocations: 1.125 kB / 0.7549 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.5704, allocations: 12.22 kB / 0.7549 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.5704, allocations: 12.66 kB / 0.755 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.5704, allocations: 5.188 kB / 0.755 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.5705, allocations: 111.2 kB / 0.7551 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.5705, allocations: 0 / 0.7551 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002784/0.5708, allocations: 27.41 kB / 0.7551 GB, free: 2.617 MB / 0.6075 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.000149/0.5709, allocations: 113.6 kB / 0.7552 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.5714, allocations: 124.2 kB / 0.7553 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5714, allocations: 0 / 0.7553 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.5717, allocations: 67.45 kB / 0.7554 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.572, allocations: 38.27 kB / 0.7554 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.5726, allocations: 233.3 kB / 0.7556 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.681e-05/0.5727, allocations: 85.23 kB / 0.7557 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.5728, allocations: 30.58 kB / 0.7558 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.5729, allocations: 14.88 kB / 0.7558 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.5729, allocations: 0 / 0.7558 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.00544/0.5783, allocations: 1.96 MB / 0.7577 GB, free: 2.023 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.400265149772167] Failed to read output from testmodel.py, exit status != 0: 0.58664995059371 0.5997414999999999 0.035967783 Calling exit ...