Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.654/2.654, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 186.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009696/0.000969, allocations: 82.36 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 16.53 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.1168/0.3261, allocations: 74.49 MB / 1.051 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7523/1.078, allocations: 20.97 MB / 1.072 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004515/1.083, allocations: 94.19 kB / 1.072 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004668/1.088, allocations: 0.7811 MB / 1.073 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/1.099, allocations: 2.266 MB / 1.075 GB, free: 18.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008668/1.107, allocations: 1.792 MB / 1.076 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.05657/1.164, allocations: 30.14 MB / 1.106 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03246/1.196, allocations: 13.45 MB / 1.119 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02505/1.221, allocations: 9.169 MB / 1.128 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02861/1.25, allocations: 10.74 MB / 1.138 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.006326/1.257, allocations: 0.8145 MB / 1.139 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/1.271, allocations: 1.789 MB / 1.141 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.008168/1.279, allocations: 2.959 MB / 1.144 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006983/1.286, allocations: 1.83 MB / 1.146 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02613/1.312, allocations: 13.89 MB / 1.159 GB, free: 5.863 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.312, allocations: 1.938 kB / 1.159 GB, free: 5.863 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.866e-06/1.312, allocations: 0 / 1.159 GB, free: 5.863 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005432/1.313, allocations: 4 kB / 1.159 GB, free: 5.859 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05774/1.371, allocations: 13.07 MB / 1.172 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.371, allocations: 8.031 kB / 1.172 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004916/1.376, allocations: 0.7647 MB / 1.173 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/1.387, allocations: 1.275 MB / 1.174 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03434/1.421, allocations: 9.621 MB / 1.183 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007655/1.422, allocations: 447 kB / 1.184 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004427/1.426, allocations: 0.5816 MB / 1.184 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04927/1.476, allocations: 14.68 MB / 1.199 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003694/1.476, allocations: 23.78 kB / 1.199 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00394/1.48, allocations: 244 kB / 1.199 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/1.48, allocations: 140 kB / 1.199 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05543/1.536, allocations: 19.88 MB / 1.219 GB, free: 10.29 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/1.73, allocations: 66.61 MB / 1.284 GB, free: 6.691 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02509/1.755, allocations: 9.328 MB / 1.293 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02182/1.777, allocations: 8.671 MB / 1.301 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.102/1.879, allocations: 30.98 MB / 1.331 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02144/1.9, allocations: 7.748 MB / 1.339 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05888/1.959, allocations: 11.77 MB / 1.351 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=300): time 2.819e-05/1.96, allocations: 0 / 1.351 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of matching and sorting (n=300): time 0.1005/2.06, allocations: 24.44 MB / 1.374 GB, free: 9.434 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/2.06, allocations: 81.77 kB / 1.374 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02327/2.083, allocations: 8.1 MB / 1.382 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002659/2.086, allocations: 101.7 kB / 1.382 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.007836/2.094, allocations: 4.023 MB / 1.386 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004311/2.098, allocations: 1.079 MB / 1.387 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/2.101, allocations: 90.73 kB / 1.388 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005822/2.102, allocations: 495.8 kB / 1.388 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01897/2.121, allocations: 6.547 MB / 1.394 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02174/2.143, allocations: 8.402 MB / 1.403 GB, free: 11.74 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02156/2.164, allocations: 7.436 MB / 1.41 GB, free: 4.289 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.833e-05/2.164, allocations: 12 kB / 1.41 GB, free: 4.277 MB / 0.948 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.06692/2.231, allocations: 17.8 MB / 1.427 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001538/2.233, allocations: 1.554 MB / 1.429 GB, free: 200 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/2.233, allocations: 52 kB / 1.429 GB, free: 148 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449/3.682, allocations: 11.51 MB / 1.44 GB, free: 337.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01703/3.699, allocations: 1.566 MB / 1.442 GB, free: 337.7 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/3.716, allocations: 6.804 MB / 1.448 GB, free: 334.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01934/3.735, allocations: 0.5946 MB / 1.449 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00377/3.739, allocations: 0.5419 MB / 1.449 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/3.739, allocations: 6.188 kB / 1.449 GB, free: 334.7 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05639/3.796, allocations: 16.74 MB / 1.466 GB, free: 329.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/3.796, allocations: 47.94 kB / 1.466 GB, free: 329.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1311/3.927, allocations: 11.03 MB / 1.477 GB, free: 327.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/3.943, allocations: 1.555 MB / 1.478 GB, free: 327.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/3.965, allocations: 11.04 MB / 1.489 GB, free: 318.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01817/3.983, allocations: 0.5668 MB / 1.489 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003463/3.987, allocations: 0.5308 MB / 1.49 GB, free: 318.4 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.01021/3.997, allocations: 2.641 MB / 1.492 GB, free: 316.8 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004141/4.001, allocations: 0.751 MB / 1.493 GB, free: 316.8 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04683/4.048, allocations: 14.35 MB / 1.507 GB, free: 304.8 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/4.048, allocations: 36 kB / 1.507 GB, free: 304.8 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/4.048, allocations: 0 / 1.507 GB, free: 304.8 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02804/4.076, allocations: 10.92 MB / 1.518 GB, free: 293.8 MB / 0.9637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05997/4.136, allocations: 24.89 MB / 1.542 GB, free: 268.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.093e-05/4.137, allocations: 0.875 kB / 1.542 GB, free: 268.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/4.147, allocations: 0.7002 MB / 1.543 GB, free: 268.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1252/4.272, allocations: 10.34 MB / 1.553 GB, free: 257.9 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001437/4.273, allocations: 99.94 kB / 1.553 GB, free: 257.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/4.282, allocations: 4.934 MB / 1.558 GB, free: 252.7 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/4.282, allocations: 7.984 kB / 1.558 GB, free: 252.7 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04702/4.329, allocations: 19.54 MB / 1.577 GB, free: 233.1 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007861/4.337, allocations: 2.008 MB / 1.579 GB, free: 231.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003744/4.34, allocations: 71.98 kB / 1.579 GB, free: 231 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0131/4.353, allocations: 446 kB / 1.579 GB, free: 230.6 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/4.355, allocations: 214.4 kB / 1.58 GB, free: 230.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001154/4.356, allocations: 163.9 kB / 1.58 GB, free: 230.2 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01364/4.37, allocations: 5.566 MB / 1.585 GB, free: 224.7 MB / 0.9637 GB Notification: Performance of sort global known variables: time 6.82e-07/4.37, allocations: 0 / 1.585 GB, free: 224.7 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02558/4.396, allocations: 4.976 MB / 1.59 GB, free: 219.8 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.05021/4.446, allocations: 20.37 MB / 1.61 GB, free: 199.4 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.06148/4.508, allocations: 24.2 MB / 1.634 GB, free: 175.1 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/4.508, allocations: 0 / 1.634 GB, free: 175.1 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01599/4.524, allocations: 6.46 MB / 1.64 GB, free: 168.7 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0438/4.567, allocations: 5.037 MB / 1.645 GB, free: 163.7 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3566/4.924, allocations: 94.43 MB / 1.737 GB, free: 64.62 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008918/4.933, allocations: 5.21 MB / 1.742 GB, free: 59.38 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.03253/4.966, allocations: 4.968 MB / 1.747 GB, free: 54.4 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01524/4.981, allocations: 3.81 MB / 1.751 GB, free: 50.59 MB / 0.9637 GB Notification: Performance of SimCode: time 1.563e-06/4.981, allocations: 0 / 1.751 GB, free: 50.59 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.246/6.227, allocations: 294.8 MB / 2.039 GB, free: 130 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/6.228, allocations: 255.6 kB / 2.039 GB, free: 129.7 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/19.3, allocations: 3.938 kB / 2.039 GB, free: 129.7 MB / 0.9637 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)