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.0007786/0.0007786, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005492/0.005492, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.605/1.605, allocations: 252 MB / 0.5105 GB, free: 4.738 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.0005735/0.0005737, allocations: 23.98 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5129, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004932/0.5179, allocations: 4.376 MB / 0.733 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.5207, allocations: 2.66 MB / 0.7356 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.5209, allocations: 3.938 kB / 0.7356 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.5211, allocations: 31.81 kB / 0.7356 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.5214, allocations: 95.42 kB / 0.7357 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.5225, allocations: 422 kB / 0.7361 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.5227, allocations: 299.9 kB / 0.7364 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.5228, allocations: 9.562 kB / 0.7364 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.523, allocations: 111.5 kB / 0.7365 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.5231, allocations: 91.66 kB / 0.7366 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.5232, allocations: 11.94 kB / 0.7366 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.5238, allocations: 347.2 kB / 0.7369 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.5239, allocations: 35.89 kB / 0.737 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.524, allocations: 101.4 kB / 0.7371 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.5244, allocations: 345 kB / 0.7374 GB, free: 2.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5245, allocations: 0 / 0.7374 GB, free: 2.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5245, allocations: 0 / 0.7374 GB, free: 2.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5245, allocations: 0 / 0.7374 GB, free: 2.348 MB / 0.545 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.0006206/0.5251, allocations: 467.3 kB / 0.7378 GB, free: 1.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5251, allocations: 12.03 kB / 0.7378 GB, free: 1.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.5253, allocations: 20.75 kB / 0.7379 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.5255, allocations: 212.1 kB / 0.7381 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5255, allocations: 8.703 kB / 0.7381 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.5255, allocations: 20.38 kB / 0.7381 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.5259, allocations: 253.1 kB / 0.7383 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5259, allocations: 0 / 0.7383 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.526, allocations: 12 kB / 0.7384 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.526, allocations: 4 kB / 0.7384 GB, free: 1.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5265, allocations: 435.4 kB / 0.7388 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5275, allocations: 0.9998 MB / 0.7397 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5278, allocations: 155.1 kB / 0.7399 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.5279, allocations: 64.88 kB / 0.74 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.5291, allocations: 1.829 MB / 0.7417 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5291, allocations: 34.56 kB / 0.7418 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.5291, allocations: 0 / 0.7418 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003132/0.5294, allocations: 145.4 kB / 0.7419 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5295, allocations: 55.34 kB / 0.742 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.5296, allocations: 172.7 kB / 0.7421 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.5297, allocations: 29.7 kB / 0.7422 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.5298, allocations: 139.8 kB / 0.7423 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.5298, allocations: 51.27 kB / 0.7423 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.5298, allocations: 25.7 kB / 0.7424 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.53, allocations: 322.8 kB / 0.7427 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.53, allocations: 39.98 kB / 0.7427 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5302, allocations: 147.1 kB / 0.7429 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.5304, allocations: 196.9 kB / 0.743 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5304, allocations: 0 / 0.743 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002871/0.5307, allocations: 221.1 kB / 0.7433 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5307, allocations: 8 kB / 0.7433 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5307, allocations: 7.984 kB / 0.7433 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5308, allocations: 4.469 kB / 0.7433 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.5309, allocations: 63.84 kB / 0.7433 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.531, allocations: 4 kB / 0.7433 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.5311, allocations: 27.75 kB / 0.7434 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5311, allocations: 8 kB / 0.7434 GB, free: 11.48 MB / 0.5606 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.000102/0.5312, allocations: 141.6 kB / 0.7435 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.5312, allocations: 15.81 kB / 0.7435 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.5315, allocations: 147 kB / 0.7437 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5315, allocations: 15.88 kB / 0.7437 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5315, allocations: 0 / 0.7437 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5316, allocations: 0 / 0.7437 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.5318, allocations: 213.5 kB / 0.7439 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5318, allocations: 0 / 0.7439 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.5319, allocations: 31.92 kB / 0.7439 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5319, allocations: 7.922 kB / 0.7439 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5319, allocations: 4 kB / 0.7439 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5319, allocations: 7.938 kB / 0.7439 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5319, allocations: 4 kB / 0.7439 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5321, allocations: 222.5 kB / 0.7441 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.5322, allocations: 108.9 kB / 0.7442 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.5322, allocations: 4 kB / 0.7443 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.5324, allocations: 11.94 kB / 0.7443 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.5324, allocations: 11.98 kB / 0.7443 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.5325, allocations: 7.984 kB / 0.7443 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.674e-05/0.5326, allocations: 120 kB / 0.7444 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5326, allocations: 4 kB / 0.7444 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003731/0.5329, allocations: 75.91 kB / 0.7445 GB, free: 10.25 MB / 0.5606 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.0002998/0.5333, allocations: 175 kB / 0.7446 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.5335, allocations: 123.9 kB / 0.7448 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5335, allocations: 0 / 0.7448 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.5335, allocations: 39.98 kB / 0.7448 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.534, allocations: 52.77 kB / 0.7448 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.5346, allocations: 433.4 kB / 0.7453 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5349, allocations: 0.7131 MB / 0.746 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.535, allocations: 49.75 kB / 0.746 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.5351, allocations: 23.44 kB / 0.746 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5351, allocations: 0 / 0.746 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.006068/0.5411, allocations: 3.212 MB / 0.7492 GB, free: 5.434 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: