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.0006888/0.0006888, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000881/0.00157, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007067/0.0007067, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001606, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.028/1.028, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09015/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7888/0.7888, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2766/1.065, allocations: 49.14 MB / 448.4 MB, free: 6.043 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.563e-06/1.563e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.091e-05, allocations: 4.281 kB / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005996/0.006017, allocations: 4.927 MB / 454.7 MB, free: 15.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.008114, allocations: 2.854 MB / 457.5 MB, free: 13 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.008211, allocations: 0 / 457.5 MB, free: 13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.008423, allocations: 48.55 kB / 457.6 MB, free: 12.96 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.008637, allocations: 104.2 kB / 457.7 MB, free: 12.86 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.01002, allocations: 0.5637 MB / 458.2 MB, free: 12.3 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.01033, allocations: 239.8 kB / 458.5 MB, free: 12.06 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.01039, allocations: 11.67 kB / 458.5 MB, free: 12.05 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.01064, allocations: 167.5 kB / 458.6 MB, free: 11.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.01077, allocations: 76.48 kB / 458.7 MB, free: 11.81 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.0108, allocations: 8 kB / 458.7 MB, free: 11.8 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006008/0.0114, allocations: 340.1 kB / 459 MB, free: 11.47 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.01147, allocations: 31.86 kB / 459.1 MB, free: 11.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.01152, allocations: 48.94 kB / 459.1 MB, free: 11.39 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.01195, allocations: 326.9 kB / 459.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.01196, allocations: 0 / 459.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01196, allocations: 0.625 kB / 459.4 MB, free: 11.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.01197, allocations: 0 / 459.4 MB, free: 11.07 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.0006528/0.01263, allocations: 0.5393 MB / 460 MB, free: 10.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.01266, allocations: 12.03 kB / 460 MB, free: 10.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.01279, allocations: 49.27 kB / 460 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.01295, allocations: 154.8 kB / 460.2 MB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.01296, allocations: 12.7 kB / 460.2 MB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.01298, allocations: 24.36 kB / 460.2 MB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.01323, allocations: 406.7 kB / 460.6 MB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.01324, allocations: 1.25 kB / 460.6 MB, free: 9.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.01326, allocations: 16.78 kB / 460.6 MB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.01329, allocations: 4 kB / 460.6 MB, free: 9.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.01348, allocations: 252 kB / 460.9 MB, free: 9.484 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.01406, allocations: 0.6862 MB / 461.6 MB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.01426, allocations: 152.9 kB / 461.7 MB, free: 8.609 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.0143, allocations: 37.36 kB / 461.8 MB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004548/0.01476, allocations: 483.2 kB / 462.2 MB, free: 8.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.01478, allocations: 36.5 kB / 462.3 MB, free: 8.043 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.01478, allocations: 0 / 462.3 MB, free: 8.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001538/0.01494, allocations: 135.5 kB / 462.4 MB, free: 7.906 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01496, allocations: 55.41 kB / 462.5 MB, free: 7.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.01506, allocations: 163.7 kB / 462.6 MB, free: 7.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01507, allocations: 26.36 kB / 462.6 MB, free: 7.637 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.01513, allocations: 152 kB / 462.8 MB, free: 7.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.01516, allocations: 56.17 kB / 462.8 MB, free: 7.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.01521, allocations: 53.67 kB / 462.9 MB, free: 7.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.01529, allocations: 324.2 kB / 463.2 MB, free: 7.043 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.01531, allocations: 22.81 kB / 463.2 MB, free: 7.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.01538, allocations: 133.4 kB / 463.4 MB, free: 6.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.01551, allocations: 187.4 kB / 463.6 MB, free: 6.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.01551, allocations: 0 / 463.6 MB, free: 6.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001442/0.01565, allocations: 163.3 kB / 463.7 MB, free: 6.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01566, allocations: 5.625 kB / 463.7 MB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01567, allocations: 4 kB / 463.7 MB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.01568, allocations: 8 kB / 463.7 MB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.01582, allocations: 67.89 kB / 463.8 MB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01583, allocations: 9 kB / 463.8 MB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.01589, allocations: 27.78 kB / 463.8 MB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.0159, allocations: 12.91 kB / 463.8 MB, free: 6.324 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 6.898e-05/0.01597, allocations: 128.5 kB / 464 MB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.01599, allocations: 20.67 kB / 464 MB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.01614, allocations: 110.3 kB / 464.1 MB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.01615, allocations: 7.984 kB / 464.1 MB, free: 6.051 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01615, allocations: 4.875 kB / 464.1 MB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01615, allocations: 0 / 464.1 MB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.01627, allocations: 106.4 kB / 464.2 MB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01627, allocations: 3.938 kB / 464.2 MB, free: 5.922 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.01635, allocations: 45.38 kB / 464.3 MB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.01638, allocations: 23.89 kB / 464.3 MB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01639, allocations: 4 kB / 464.3 MB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01639, allocations: 5.312 kB / 464.3 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.01639, allocations: 0 / 464.3 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01639, allocations: 0 / 464.3 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01651, allocations: 234.1 kB / 464.5 MB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.01652, allocations: 8.906 kB / 464.5 MB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.0166, allocations: 5.172 kB / 464.5 MB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.01661, allocations: 14.08 kB / 464.6 MB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.01663, allocations: 7.984 kB / 464.6 MB, free: 5.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.288e-05/0.01665, allocations: 36.48 kB / 464.6 MB, free: 5.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01665, allocations: 0 / 464.6 MB, free: 5.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.01688, allocations: 83.81 kB / 464.7 MB, free: 5.453 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.0002224/0.0171, allocations: 157.9 kB / 464.8 MB, free: 5.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01723, allocations: 103.3 kB / 464.9 MB, free: 5.195 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.01724, allocations: 0.625 kB / 464.9 MB, free: 5.195 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.01727, allocations: 37.02 kB / 465 MB, free: 5.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.01747, allocations: 74.44 kB / 465 MB, free: 5.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.02022, allocations: 344.6 kB / 465.4 MB, free: 4.727 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.02026, allocations: 69.44 kB / 465.4 MB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.02036, allocations: 39.73 kB / 465.5 MB, free: 4.609 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.02051, allocations: 121.3 kB / 465.6 MB, free: 4.488 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02051, allocations: 1.562 kB / 465.6 MB, free: 4.488 MB / 442.7 MB Notification: Performance of Templates: time 0.005014/0.02553, allocations: 3.564 MB / 469.2 MB, free: 1.262 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.6248393058776855]