Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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.0007589/0.0007589, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007671/0.0007671, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6887/0.6887, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.909e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001642/0.001661, allocations: 1.512 MB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000829/0.00249, allocations: 0.7438 MB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.002522, allocations: 4 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.666e-05/0.002548, allocations: 3.938 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.002593, allocations: 7.922 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.002942, allocations: 143.2 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.003016, allocations: 55.78 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.003105, allocations: 11.98 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.309e-05/0.003158, allocations: 31.91 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.003195, allocations: 15.98 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003209, allocations: 4 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.003415, allocations: 171.6 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.003429, allocations: 4 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.00345, allocations: 15.92 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.003909, allocations: 167.5 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003911, allocations: 4 kB / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003912, allocations: 0 / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003915, allocations: 0 / 0.6221 GB, free: 10.35 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003712/0.004286, allocations: 325.8 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.00432, allocations: 9.469 kB / 0.6224 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.004346, allocations: 4.938 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.261e-05/0.004419, allocations: 125.5 kB / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.004428, allocations: 384 / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.004438, allocations: 8.359 kB / 0.6225 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.004595, allocations: 82.2 kB / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004601, allocations: 192 / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.00461, allocations: 384 / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.004614, allocations: 384 / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.004752, allocations: 67.86 kB / 0.6227 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.005017, allocations: 224.5 kB / 0.6229 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.005124, allocations: 54.53 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.005195, allocations: 36.92 kB / 0.623 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.005297, allocations: 15.98 kB / 0.623 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.005315, allocations: 38.44 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.005315, allocations: 0 / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002928/0.005608, allocations: 137.5 kB / 0.6231 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.005635, allocations: 51.41 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.005691, allocations: 109.8 kB / 0.6233 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005701, allocations: 25.7 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.005735, allocations: 92.03 kB / 0.6234 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.005751, allocations: 11.95 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.005775, allocations: 21.7 kB / 0.6234 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.005841, allocations: 314.8 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.005906, allocations: 27.97 kB / 0.6238 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.005968, allocations: 31.95 kB / 0.6238 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.006099, allocations: 80.72 kB / 0.6239 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006101, allocations: 0 / 0.6239 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001512/0.006252, allocations: 101.5 kB / 0.624 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006263, allocations: 5.875 kB / 0.624 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.006267, allocations: 0 / 0.624 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.006276, allocations: 384 / 0.624 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.006343, allocations: 15.98 kB / 0.624 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.006348, allocations: 7.984 kB / 0.624 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.00638, allocations: 11.98 kB / 0.624 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006387, allocations: 3.938 kB / 0.624 GB, free: 8.176 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 5.403e-05/0.006441, allocations: 114.8 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.006454, allocations: 11.83 kB / 0.6241 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.006635, allocations: 101.6 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006637, allocations: 4.375 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.006642, allocations: 8 kB / 0.6242 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.006645, allocations: 0 / 0.6242 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.437e-05/0.006729, allocations: 113.3 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.00673, allocations: 0 / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.006768, allocations: 19.95 kB / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006769, allocations: 4 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.006775, allocations: 3.938 kB / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.006777, allocations: 0 / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006777, allocations: 0 / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.006948, allocations: 203.4 kB / 0.6246 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-06/0.006954, allocations: 7.938 kB / 0.6246 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006965, allocations: 3.938 kB / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.007013, allocations: 11.98 kB / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.007049, allocations: 3.984 kB / 0.6246 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.007053, allocations: 4 kB / 0.6246 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.818e-05/0.007081, allocations: 87.28 kB / 0.6247 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007081, allocations: 4 kB / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001699/0.007251, allocations: 35.86 kB / 0.6247 GB, free: 7.379 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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.0001443/0.007395, allocations: 131.2 kB / 0.6249 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.007568, allocations: 71.86 kB / 0.6249 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007569, allocations: 4 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.007637, allocations: 35.95 kB / 0.625 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.007811, allocations: 8 kB / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.00806, allocations: 158.8 kB / 0.6251 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008101, allocations: 69.09 kB / 0.6252 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.008125, allocations: 12.5 kB / 0.6252 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/0.008125, allocations: 7.938 kB / 0.6252 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of Templates: time 0.001805/0.009931, allocations: 1.254 MB / 0.6264 GB, free: 5.582 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.217733099125326] Failed to read output from testmodel.py, exit status != 0: 0.0141306072473526 0.02188309 0.016451338 Calling exit ...