Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007777/0.0007777, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000779/0.000779, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8966/0.8966, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.6968/0.6968, allocations: 154.6 MB / 414.5 MB, free: 0.8398 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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6193 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.228e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003785/0.003808, allocations: 3.89 MB / 0.6231 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.003936, allocations: 139.5 kB / 0.6232 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.00396, allocations: 0 / 0.6232 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.004062, allocations: 0 / 0.6232 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.37e-05/0.004135, allocations: 19.91 kB / 0.6232 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.004419, allocations: 91.92 kB / 0.6233 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.004495, allocations: 31.86 kB / 0.6233 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.004531, allocations: 4 kB / 0.6233 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.004583, allocations: 23.91 kB / 0.6234 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.004648, allocations: 11.98 kB / 0.6234 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.004659, allocations: 0 / 0.6234 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.004815, allocations: 63.69 kB / 0.6234 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.00486, allocations: 3.984 kB / 0.6234 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.004881, allocations: 15.98 kB / 0.6234 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.005001, allocations: 59.86 kB / 0.6235 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005003, allocations: 0 / 0.6235 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005004, allocations: 0 / 0.6235 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.005009, allocations: 3.938 kB / 0.6235 GB, free: 8.926 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003108/0.00532, allocations: 258.3 kB / 0.6238 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.005358, allocations: 13.47 kB / 0.6238 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.005394, allocations: 0.9375 kB / 0.6238 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.812e-05/0.005472, allocations: 113.7 kB / 0.6239 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.005533, allocations: 55.97 kB / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-06/0.005541, allocations: 384 / 0.6239 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.005661, allocations: 71.95 kB / 0.624 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.00567, allocations: 192 / 0.624 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.005682, allocations: 3.938 kB / 0.624 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.005699, allocations: 3.938 kB / 0.624 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.005734, allocations: 15.98 kB / 0.624 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.006044, allocations: 200.6 kB / 0.6242 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.00608, allocations: 22.58 kB / 0.6242 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.006092, allocations: 12.8 kB / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.006131, allocations: 16.05 kB / 0.6243 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.006152, allocations: 34.5 kB / 0.6243 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.006154, allocations: 3.984 kB / 0.6243 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.006268, allocations: 33.7 kB / 0.6243 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.006294, allocations: 51.41 kB / 0.6244 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.006352, allocations: 101.8 kB / 0.6245 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.006363, allocations: 29.7 kB / 0.6245 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.0064, allocations: 88.09 kB / 0.6246 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.006406, allocations: 12.02 kB / 0.6246 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.00643, allocations: 17.7 kB / 0.6246 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.006502, allocations: 310.8 kB / 0.6249 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.006513, allocations: 8 kB / 0.6249 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.79e-05/0.006531, allocations: 17.66 kB / 0.6249 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.006558, allocations: 25.7 kB / 0.625 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006559, allocations: 0 / 0.625 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.418e-05/0.006613, allocations: 49.58 kB / 0.625 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006625, allocations: 8.047 kB / 0.625 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006629, allocations: 8 kB / 0.625 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.006639, allocations: 0 / 0.625 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.135e-05/0.00667, allocations: 7.938 kB / 0.625 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006674, allocations: 0 / 0.625 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.006687, allocations: 4 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.006694, allocations: 0 / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 4.902e-05/0.006743, allocations: 110.8 kB / 0.6251 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.006756, allocations: 3.938 kB / 0.6251 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.434e-05/0.00684, allocations: 132.8 kB / 0.6253 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/0.006878, allocations: 180.3 kB / 0.6254 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.063e-05/0.006918, allocations: 184.3 kB / 0.6256 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.164e-05/0.00696, allocations: 188.2 kB / 0.6258 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.007087, allocations: 352.9 kB / 0.6261 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.007109, allocations: 104.9 kB / 0.6262 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.007132, allocations: 101 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-05/0.007172, allocations: 188.2 kB / 0.6265 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.007213, allocations: 180.2 kB / 0.6267 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.969e-05/0.007252, allocations: 180.3 kB / 0.6269 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-05/0.00729, allocations: 184.2 kB / 0.627 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.007377, allocations: 307.8 kB / 0.6273 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.007409, allocations: 108.9 kB / 0.6274 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.007458, allocations: 180.3 kB / 0.6276 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.007557, allocations: 112.9 kB / 0.6277 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.0076, allocations: 176.3 kB / 0.6279 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.007626, allocations: 108.9 kB / 0.628 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.007659, allocations: 91.27 kB / 0.6281 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007659, allocations: 0 / 0.6281 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001597/0.007818, allocations: 15.94 kB / 0.6281 GB, free: 3.859 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 (0): * Single equations (assignments): 0 * 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.0001339/0.007952, allocations: 190.5 kB / 0.6283 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.21e-05/0.008004, allocations: 8 kB / 0.6283 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008006, allocations: 0 / 0.6283 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.008007, allocations: 320 / 0.6283 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.008283, allocations: 467.6 kB / 0.6287 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.008494, allocations: 197.8 kB / 0.6289 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.008539, allocations: 59.34 kB / 0.629 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.008559, allocations: 16.44 kB / 0.629 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.00856, allocations: 4.125 kB / 0.629 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of Templates: time 0.001513/0.01007, allocations: 0.7434 MB / 0.6297 GB, free: 2.133 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.35883551184088] Failed to read output from testmodel.py, exit status != 0: 0.014735276810824871 0.022311155000000003 0.015715544 Calling exit ...