Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001479/0.001479, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.002034/0.002034, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.051/1.051, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7722/0.7722, allocations: 154.6 MB / 415.6 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5216 GB, free: 1.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.321e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.926 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004534/0.004558, allocations: 4.828 MB / 0.5263 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.006496, allocations: 2.809 MB / 0.529 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.006551, allocations: 6.938 kB / 0.529 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.006687, allocations: 43.7 kB / 0.5291 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.006847, allocations: 107.2 kB / 0.5292 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.007805, allocations: 0.5683 MB / 0.5297 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.007984, allocations: 252.4 kB / 0.53 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.008012, allocations: 13.81 kB / 0.53 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.008162, allocations: 165.1 kB / 0.5301 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.008249, allocations: 71.78 kB / 0.5302 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.008268, allocations: 11.94 kB / 0.5302 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.008631, allocations: 332.4 kB / 0.5305 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.008684, allocations: 39.88 kB / 0.5306 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.467e-05/0.008738, allocations: 63.84 kB / 0.5306 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.009091, allocations: 359.5 kB / 0.531 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.009093, allocations: 0 / 0.531 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.009094, allocations: 0.8438 kB / 0.531 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.009098, allocations: 3.938 kB / 0.531 GB, free: 8.285 MB / 0.4948 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.0004479/0.009546, allocations: 0.5431 MB / 0.5315 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.009572, allocations: 9.781 kB / 0.5315 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.009674, allocations: 36.78 kB / 0.5315 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.009816, allocations: 164.3 kB / 0.5317 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.009828, allocations: 12.7 kB / 0.5317 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.009846, allocations: 18.81 kB / 0.5317 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.01007, allocations: 414.2 kB / 0.5321 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.01008, allocations: 4.125 kB / 0.5321 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.0101, allocations: 16.11 kB / 0.5321 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.01012, allocations: 7.984 kB / 0.5322 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.01031, allocations: 250.6 kB / 0.5324 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.01115, allocations: 0.968 MB / 0.5333 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.0113, allocations: 135.1 kB / 0.5335 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.01134, allocations: 39.67 kB / 0.5335 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/0.01176, allocations: 0.5343 MB / 0.534 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.01178, allocations: 37.39 kB / 0.5341 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 9.02e-07/0.01178, allocations: 0 / 0.5341 GB, free: 4.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0001665/0.01195, allocations: 123.5 kB / 0.5342 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.01197, allocations: 51.41 kB / 0.5342 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.01205, allocations: 209.7 kB / 0.5344 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.01207, allocations: 33.69 kB / 0.5345 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.01214, allocations: 198.5 kB / 0.5347 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01216, allocations: 59.52 kB / 0.5347 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.01221, allocations: 55.34 kB / 0.5348 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.01232, allocations: 0.5 MB / 0.5353 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.01234, allocations: 23.91 kB / 0.5353 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.01243, allocations: 167 kB / 0.5354 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.01256, allocations: 220.8 kB / 0.5356 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01256, allocations: 4 kB / 0.5356 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001909/0.01276, allocations: 191.7 kB / 0.5358 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.01277, allocations: 10.5 kB / 0.5358 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01277, allocations: 4 kB / 0.5358 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.01278, allocations: 4.5 kB / 0.5358 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01289, allocations: 64.88 kB / 0.5359 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.01289, allocations: 4 kB / 0.5359 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.01295, allocations: 23.84 kB / 0.5359 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01296, allocations: 13.47 kB / 0.5359 GB, free: 2.77 MB / 0.4948 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 7.587e-05/0.01304, allocations: 184.4 kB / 0.5361 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.01307, allocations: 15.91 kB / 0.5361 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01322, allocations: 137.3 kB / 0.5363 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.01323, allocations: 4.75 kB / 0.5363 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01323, allocations: 0 / 0.5363 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01324, allocations: 1.219 kB / 0.5363 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01336, allocations: 145 kB / 0.5364 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01336, allocations: 0 / 0.5364 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.01342, allocations: 28.92 kB / 0.5364 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01342, allocations: 3.984 kB / 0.5364 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.01343, allocations: 4 kB / 0.5365 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01343, allocations: 1.844 kB / 0.5365 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01343, allocations: 4 kB / 0.5365 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01357, allocations: 251.7 kB / 0.5367 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.01362, allocations: 39.8 kB / 0.5367 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.01363, allocations: 4 kB / 0.5367 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.01371, allocations: 13.77 kB / 0.5368 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.01373, allocations: 11.98 kB / 0.5368 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.01374, allocations: 11.98 kB / 0.5368 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.01378, allocations: 150.7 kB / 0.5369 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01378, allocations: 5.062 kB / 0.5369 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002447/0.01403, allocations: 75.86 kB / 0.537 GB, free: 1.648 MB / 0.4948 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.0001979/0.01423, allocations: 183.5 kB / 0.5372 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01435, allocations: 106.1 kB / 0.5373 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01435, allocations: 4 kB / 0.5373 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.01439, allocations: 46.72 kB / 0.5373 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01463, allocations: 47.14 kB / 0.5374 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.01521, allocations: 325.5 kB / 0.5377 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01525, allocations: 71.59 kB / 0.5377 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.962e-05/0.01534, allocations: 43.61 kB / 0.5378 GB, free: 0.8047 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.0155, allocations: 150.1 kB / 0.5379 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.0155, allocations: 0 / 0.5379 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of Templates: time 0.004914/0.02042, allocations: 3.472 MB / 0.5413 GB, free: 13.36 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8093832368031144]