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.001016/0.001016, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002511, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001083/0.001083, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002489, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08452/1.097, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7573/0.7573, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2587/1.016, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.7656 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.214e-05, allocations: 3.016 kB / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006695/0.006717, allocations: 4.933 MB / 454.9 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.009629, allocations: 2.846 MB / 457.8 MB, free: 12.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.009749, allocations: 0 / 457.8 MB, free: 12.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.009978, allocations: 52.41 kB / 457.8 MB, free: 12.79 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.01023, allocations: 104.1 kB / 457.9 MB, free: 12.68 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.01156, allocations: 0.5594 MB / 458.5 MB, free: 12.13 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.01185, allocations: 247.8 kB / 458.7 MB, free: 11.89 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.0119, allocations: 11.31 kB / 458.7 MB, free: 11.87 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.01217, allocations: 164.2 kB / 458.9 MB, free: 11.71 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.01233, allocations: 79.77 kB / 459 MB, free: 11.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.01236, allocations: 8.656 kB / 459 MB, free: 11.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006791/0.01304, allocations: 339.1 kB / 459.3 MB, free: 11.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.01338, allocations: 32.78 kB / 459.3 MB, free: 11.26 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.01344, allocations: 47.94 kB / 459.4 MB, free: 11.21 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.014, allocations: 324.2 kB / 459.7 MB, free: 10.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.01402, allocations: 0 / 459.7 MB, free: 10.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01402, allocations: 0 / 459.7 MB, free: 10.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.01403, allocations: 0.625 kB / 459.7 MB, free: 10.9 MB / 442.7 MB 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.0007677/0.0148, allocations: 0.5424 MB / 460.3 MB, free: 10.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.01484, allocations: 12.03 kB / 460.3 MB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01502, allocations: 45.42 kB / 460.3 MB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.01522, allocations: 158 kB / 460.5 MB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.01524, allocations: 9.266 kB / 460.5 MB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.01527, allocations: 24.94 kB / 460.5 MB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.01559, allocations: 407.3 kB / 460.9 MB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.0156, allocations: 192 / 460.9 MB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01562, allocations: 12.94 kB / 460.9 MB, free: 9.562 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.01566, allocations: 10.8 kB / 460.9 MB, free: 9.555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.01594, allocations: 247.6 kB / 461.2 MB, free: 9.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.01673, allocations: 0.6824 MB / 461.8 MB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.01694, allocations: 152.4 kB / 462 MB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.01699, allocations: 36.84 kB / 462 MB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006115/0.0176, allocations: 483.5 kB / 462.5 MB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.01763, allocations: 38.56 kB / 462.5 MB, free: 7.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.01763, allocations: 0.5938 kB / 462.5 MB, free: 7.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001998/0.01783, allocations: 137.6 kB / 462.7 MB, free: 7.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.01786, allocations: 55.41 kB / 462.7 MB, free: 7.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01796, allocations: 163.7 kB / 462.9 MB, free: 7.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.01798, allocations: 25.7 kB / 462.9 MB, free: 7.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.01805, allocations: 155.9 kB / 463.1 MB, free: 7.309 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01809, allocations: 57.2 kB / 463.1 MB, free: 7.254 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.01815, allocations: 49.69 kB / 463.2 MB, free: 7.199 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.01825, allocations: 326.7 kB / 463.5 MB, free: 6.871 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.01828, allocations: 22.81 kB / 463.5 MB, free: 6.848 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.01838, allocations: 130.4 kB / 463.6 MB, free: 6.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.01856, allocations: 191.8 kB / 463.8 MB, free: 6.441 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.01856, allocations: 4 kB / 463.8 MB, free: 6.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002152/0.01878, allocations: 165 kB / 464 MB, free: 6.273 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01879, allocations: 4.594 kB / 464 MB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.0188, allocations: 4 kB / 464 MB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01882, allocations: 9.438 kB / 464 MB, free: 6.258 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.01902, allocations: 67.91 kB / 464.1 MB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.01903, allocations: 7.984 kB / 464.1 MB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.01913, allocations: 28.62 kB / 464.1 MB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.01915, allocations: 12 kB / 464.1 MB, free: 6.145 MB / 442.7 MB 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 8.382e-05/0.01923, allocations: 133 kB / 464.2 MB, free: 6.004 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.01927, allocations: 17.02 kB / 464.3 MB, free: 5.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.01945, allocations: 106.3 kB / 464.4 MB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.01947, allocations: 5.234 kB / 464.4 MB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01947, allocations: 0 / 464.4 MB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01947, allocations: 4.516 kB / 464.4 MB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01964, allocations: 106.3 kB / 464.5 MB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01964, allocations: 7.938 kB / 464.5 MB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.01975, allocations: 33.95 kB / 464.5 MB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.0198, allocations: 33.38 kB / 464.6 MB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.0198, allocations: 3.938 kB / 464.6 MB, free: 5.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01981, allocations: 4 kB / 464.6 MB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01981, allocations: 0.8438 kB / 464.6 MB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.01981, allocations: 4 kB / 464.6 MB, free: 5.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.01999, allocations: 229.8 kB / 464.8 MB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.02, allocations: 3.984 kB / 464.8 MB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.02012, allocations: 11.98 kB / 464.8 MB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.02014, allocations: 7.984 kB / 464.8 MB, free: 5.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.02016, allocations: 12.55 kB / 464.8 MB, free: 5.395 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.0202, allocations: 27.75 kB / 464.9 MB, free: 5.367 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0202, allocations: 3.938 kB / 464.9 MB, free: 5.363 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.02055, allocations: 91.8 kB / 464.9 MB, free: 5.273 MB / 442.7 MB 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.0002692/0.02082, allocations: 159.7 kB / 465.1 MB, free: 5.117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.02098, allocations: 98.67 kB / 465.2 MB, free: 5.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/0.02099, allocations: 4 kB / 465.2 MB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.094e-05/0.02105, allocations: 48.05 kB / 465.3 MB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.02137, allocations: 159.3 kB / 465.4 MB, free: 4.797 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.02544, allocations: 347.1 kB / 465.7 MB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.02549, allocations: 69.78 kB / 465.8 MB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.02562, allocations: 35.44 kB / 465.9 MB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.02584, allocations: 126 kB / 466 MB, free: 4.191 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02584, allocations: 0 / 466 MB, free: 4.191 MB / 442.7 MB Notification: Performance of Templates: time 0.006797/0.03264, allocations: 3.485 MB / 469.5 MB, free: 1.043 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7386489268392324]