Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00615/0.00615, allocations: 100.9 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 251.7 MB / 0.5094 GB, free: 2.949 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 65.78 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2149, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006143/0.2211, allocations: 4.719 MB / 0.8327 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.224, allocations: 2.679 MB / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2241, allocations: 0 / 0.8353 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.2245, allocations: 47.67 kB / 0.8353 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.2248, allocations: 95.42 kB / 0.8354 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.226, allocations: 477.9 kB / 0.8359 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.2263, allocations: 220 kB / 0.8361 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.2264, allocations: 9.562 kB / 0.8361 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2267, allocations: 123.5 kB / 0.8362 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.2268, allocations: 91.61 kB / 0.8363 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2269, allocations: 11.94 kB / 0.8363 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.2277, allocations: 343.4 kB / 0.8366 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.2278, allocations: 31.89 kB / 0.8367 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.618e-05/0.2279, allocations: 79.64 kB / 0.8368 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006924/0.2286, allocations: 347 kB / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2286, allocations: 0 / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2286, allocations: 0 / 0.8371 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2286, allocations: 0 / 0.8371 GB, free: 6.867 MB / 0.6544 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.0009069/0.2295, allocations: 0.4954 MB / 0.8376 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2295, allocations: 12.03 kB / 0.8376 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.2298, allocations: 20.75 kB / 0.8376 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.2301, allocations: 212.1 kB / 0.8378 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2301, allocations: 8.703 kB / 0.8378 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2302, allocations: 16.38 kB / 0.8378 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.2306, allocations: 261 kB / 0.8381 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2306, allocations: 0 / 0.8381 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.2306, allocations: 8 kB / 0.8381 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.2307, allocations: 4 kB / 0.8381 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.2312, allocations: 435.5 kB / 0.8385 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2324, allocations: 0.9998 MB / 0.8395 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.2327, allocations: 172.5 kB / 0.8396 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2328, allocations: 68.88 kB / 0.8397 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.2343, allocations: 1.817 MB / 0.8415 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2344, allocations: 38.56 kB / 0.8415 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2344, allocations: 0 / 0.8415 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003476/0.2347, allocations: 149.3 kB / 0.8417 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2348, allocations: 59.34 kB / 0.8417 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2349, allocations: 167.3 kB / 0.8419 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2349, allocations: 25.7 kB / 0.8419 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.235, allocations: 139.8 kB / 0.842 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2351, allocations: 55.19 kB / 0.8421 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.2351, allocations: 57.61 kB / 0.8421 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2353, allocations: 318.8 kB / 0.8424 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.2353, allocations: 43.97 kB / 0.8425 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2355, allocations: 137.7 kB / 0.8426 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.2358, allocations: 200.6 kB / 0.8428 GB, free: 276 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2358, allocations: 8 kB / 0.8428 GB, free: 268 kB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003098/0.2361, allocations: 201.2 kB / 0.843 GB, free: 60 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2361, allocations: 8 kB / 0.843 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2361, allocations: 7.938 kB / 0.843 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2362, allocations: 8.406 kB / 0.843 GB, free: 36 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2364, allocations: 55.91 kB / 0.8431 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.2364, allocations: 15.88 kB / 0.8431 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2365, allocations: 27.69 kB / 0.8431 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2365, allocations: 12 kB / 0.8431 GB, free: 15.93 MB / 0.67 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 0.0001301/0.2367, allocations: 137.7 kB / 0.8433 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2367, allocations: 15.81 kB / 0.8433 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.237, allocations: 151 kB / 0.8434 GB, free: 15.62 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.2371, allocations: 7.938 kB / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2371, allocations: 4 kB / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2371, allocations: 0 / 0.8434 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2373, allocations: 217.5 kB / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2374, allocations: 0 / 0.8437 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.2375, allocations: 27.98 kB / 0.8437 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2375, allocations: 0 / 0.8437 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2375, allocations: 0 / 0.8437 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.2375, allocations: 7.938 kB / 0.8437 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2375, allocations: 0 / 0.8437 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.2378, allocations: 234.3 kB / 0.8439 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.2379, allocations: 101 kB / 0.844 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.2379, allocations: 0 / 0.844 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2381, allocations: 19.86 kB / 0.844 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.2381, allocations: 8 kB / 0.844 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2382, allocations: 11.98 kB / 0.844 GB, free: 14.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.2383, allocations: 120 kB / 0.8442 GB, free: 14.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2383, allocations: 0 / 0.8442 GB, free: 14.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003979/0.2387, allocations: 75.94 kB / 0.8442 GB, free: 14.72 MB / 0.67 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.0003251/0.239, allocations: 175.1 kB / 0.8444 GB, free: 14.54 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2393, allocations: 128.4 kB / 0.8445 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2393, allocations: 0 / 0.8445 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.2394, allocations: 43.92 kB / 0.8446 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.2398, allocations: 51.86 kB / 0.8446 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.2407, allocations: 331.1 kB / 0.8449 GB, free: 13.97 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2411, allocations: 0.7168 MB / 0.8456 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.2413, allocations: 45.75 kB / 0.8457 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.2413, allocations: 27.42 kB / 0.8457 GB, free: 13.15 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.2413, allocations: 3.938 kB / 0.8457 GB, free: 13.15 MB / 0.67 GB Notification: Performance of Templates: time 0.007789/0.2491, allocations: 3.352 MB / 0.849 GB, free: 9.836 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)