Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.000777/0.000777, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0008515/0.0008515, allocations: 215.7 kB / 23.01 MB, free: 3.098 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.8481/0.8481, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.7287/0.7287, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [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.0008714/0.0008714, allocations: 63.91 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.425, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004216/0.4292, allocations: 4.839 MB / 0.8238 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4309, allocations: 2.727 MB / 0.8265 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.431, allocations: 1.906 kB / 0.8265 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.4313, allocations: 46.22 kB / 0.8266 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.4314, allocations: 106.6 kB / 0.8267 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.4321, allocations: 0.5238 MB / 0.8272 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.4323, allocations: 235.9 kB / 0.8274 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.4324, allocations: 8.891 kB / 0.8274 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.4325, allocations: 123.3 kB / 0.8275 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4326, allocations: 95.28 kB / 0.8276 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4327, allocations: 7 kB / 0.8276 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.4331, allocations: 391.5 kB / 0.828 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.4332, allocations: 34.77 kB / 0.828 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.4332, allocations: 86.27 kB / 0.8281 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.4337, allocations: 366.3 kB / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4337, allocations: 5.031 kB / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4337, allocations: 0 / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.4337, allocations: 0 / 0.8285 GB, free: 18.98 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005419/0.4343, allocations: 454 kB / 0.8289 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4343, allocations: 12.25 kB / 0.8289 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.792e-05/0.4344, allocations: 27.2 kB / 0.8289 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.4346, allocations: 155.3 kB / 0.8291 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.4346, allocations: 10.48 kB / 0.8291 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.4346, allocations: 14.5 kB / 0.8291 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4349, allocations: 263.9 kB / 0.8294 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4349, allocations: 1.406 kB / 0.8294 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.4349, allocations: 7.406 kB / 0.8294 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4349, allocations: 5.781 kB / 0.8294 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003829/0.4353, allocations: 447.1 kB / 0.8298 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.436, allocations: 0.9209 MB / 0.8307 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.4362, allocations: 153.5 kB / 0.8308 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.4362, allocations: 56.66 kB / 0.8309 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.4366, allocations: 472.9 kB / 0.8313 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.4367, allocations: 32.31 kB / 0.8314 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.4367, allocations: 0.875 kB / 0.8314 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0002273/0.4369, allocations: 143.3 kB / 0.8315 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.4369, allocations: 64.62 kB / 0.8316 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.437, allocations: 172.4 kB / 0.8317 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.437, allocations: 35.89 kB / 0.8318 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.4371, allocations: 150.3 kB / 0.8319 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.4371, allocations: 51.47 kB / 0.832 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.4371, allocations: 57.25 kB / 0.832 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.908e-05/0.4372, allocations: 322.7 kB / 0.8323 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.4372, allocations: 35 kB / 0.8324 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.4373, allocations: 152.8 kB / 0.8325 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.4374, allocations: 193 kB / 0.8327 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4374, allocations: 2.484 kB / 0.8327 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000198/0.4376, allocations: 213.6 kB / 0.8329 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4376, allocations: 11.31 kB / 0.8329 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.4376, allocations: 3.938 kB / 0.8329 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4376, allocations: 5.625 kB / 0.8329 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4377, allocations: 54.91 kB / 0.833 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4377, allocations: 5.109 kB / 0.833 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.4378, allocations: 37.23 kB / 0.833 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4378, allocations: 15.66 kB / 0.833 GB, free: 15.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.303e-05/0.4379, allocations: 130.1 kB / 0.8332 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.4379, allocations: 16.14 kB / 0.8332 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4381, allocations: 168.4 kB / 0.8333 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4381, allocations: 7.297 kB / 0.8333 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4381, allocations: 0 / 0.8333 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4381, allocations: 1.938 kB / 0.8333 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.4382, allocations: 183.1 kB / 0.8335 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4382, allocations: 5.375 kB / 0.8335 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.4383, allocations: 26.11 kB / 0.8335 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4383, allocations: 0 / 0.8335 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4383, allocations: 3.547 kB / 0.8335 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4383, allocations: 4.641 kB / 0.8335 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4383, allocations: 1.375 kB / 0.8335 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4384, allocations: 221 kB / 0.8338 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.4384, allocations: 34.89 kB / 0.8338 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.4385, allocations: 10.08 kB / 0.8338 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.414e-05/0.4386, allocations: 15.28 kB / 0.8338 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.4386, allocations: 13.09 kB / 0.8338 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.4386, allocations: 12.94 kB / 0.8338 GB, free: 15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.4386, allocations: 124.3 kB / 0.834 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4386, allocations: 0 / 0.834 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002417/0.4389, allocations: 76.55 kB / 0.834 GB, free: 14.89 MB / 0.6355 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0001903/0.4391, allocations: 178.8 kB / 0.8342 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.4392, allocations: 109.5 kB / 0.8343 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4392, allocations: 0 / 0.8343 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.4393, allocations: 48.56 kB / 0.8344 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4395, allocations: 46.23 kB / 0.8344 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.44, allocations: 382.5 kB / 0.8348 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.4401, allocations: 0.7149 MB / 0.8355 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.4401, allocations: 30.39 kB / 0.8355 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.4401, allocations: 4 kB / 0.8355 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.003928/0.4441, allocations: 3.217 MB / 0.8386 GB, free: 13.37 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.815249016042799] Failed to read output from testmodel.py, exit status != 0: 0.4491805671714246 0.45634899300000004 0.021073077000000003 Calling exit ...