Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8528/0.8528, allocations: 143.3 MB / 158.3 MB, free: 5.648 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 175.4 kB / 191.5 MB, free: 5.656 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 447.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009942, allocations: 100.3 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 266.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004808, allocations: 18 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.144, allocations: 379.3 MB / 1.144 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.145, allocations: 98.61 kB / 1.144 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.804/10.95, allocations: 2.325 GB / 3.469 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.226e-06/10.95, allocations: 1.125 kB / 3.469 GB, free: 62.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001692/10.95, allocations: 258 kB / 3.469 GB, free: 62.39 MB / 0.7448 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.04169/10.99, allocations: 9.483 MB / 3.478 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/10.99, allocations: 11.25 kB / 3.478 GB, free: 58.97 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005915/11, allocations: 0.7719 MB / 3.479 GB, free: 58.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009959/11.01, allocations: 1.238 MB / 3.48 GB, free: 58.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0395/11.05, allocations: 12.62 MB / 3.493 GB, free: 57.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007174/11.05, allocations: 437.9 kB / 3.493 GB, free: 57.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004409/11.05, allocations: 0.5886 MB / 3.494 GB, free: 57.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03507/11.09, allocations: 13.63 MB / 3.507 GB, free: 56.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002573/11.09, allocations: 23.88 kB / 3.507 GB, free: 56.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00252/11.09, allocations: 245 kB / 3.507 GB, free: 56.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/11.09, allocations: 140.7 kB / 3.507 GB, free: 56.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03586/11.13, allocations: 18.34 MB / 3.525 GB, free: 56.21 MB / 0.7448 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.103/11.23, allocations: 55.48 MB / 3.579 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/11.24, allocations: 8.845 MB / 3.588 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05612/11.3, allocations: 26.35 MB / 3.614 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01119/11.31, allocations: 7.41 MB / 3.621 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09317/11.4, allocations: 21.17 MB / 3.642 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 6.395e-05/11.4, allocations: 0 / 3.642 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.05582/11.46, allocations: 22.56 MB / 3.664 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/11.46, allocations: 87.11 kB / 3.664 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6568/12.12, allocations: 7.468 MB / 3.671 GB, free: 70.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002776/12.12, allocations: 99.58 kB / 3.671 GB, free: 70.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.006277/12.13, allocations: 4.011 MB / 3.675 GB, free: 70.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003807/12.13, allocations: 1.083 MB / 3.676 GB, free: 70.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/12.13, allocations: 91.81 kB / 3.676 GB, free: 70.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004227/12.13, allocations: 490.7 kB / 3.677 GB, free: 70.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01231/12.14, allocations: 6.187 MB / 3.683 GB, free: 70 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01308/12.16, allocations: 8 MB / 3.691 GB, free: 67.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/12.17, allocations: 7.088 MB / 3.698 GB, free: 67.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-05/12.17, allocations: 13.19 kB / 3.698 GB, free: 67.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03171/12.2, allocations: 16.57 MB / 3.714 GB, free: 67.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.005521/12.21, allocations: 25.25 MB / 3.738 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/12.21, allocations: 48.78 kB / 3.738 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06636/12.27, allocations: 10.88 MB / 3.749 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008878/12.28, allocations: 1.606 MB / 3.751 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00844/12.29, allocations: 6.358 MB / 3.757 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01312/12.3, allocations: 0.5935 MB / 3.757 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003234/12.31, allocations: 0.5433 MB / 3.758 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/12.31, allocations: 9.688 kB / 3.758 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03164/12.34, allocations: 15.92 MB / 3.774 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002046/12.34, allocations: 47.97 kB / 3.774 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06375/12.4, allocations: 10.62 MB / 3.784 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008844/12.41, allocations: 1.603 MB / 3.786 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/12.42, allocations: 10.36 MB / 3.796 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/12.44, allocations: 0.5724 MB / 3.796 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003152/12.44, allocations: 0.5368 MB / 3.797 GB, free: 32.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.009766/12.45, allocations: 2.641 MB / 3.799 GB, free: 31.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004094/12.45, allocations: 0.7562 MB / 3.8 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02888/12.48, allocations: 13.66 MB / 3.813 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/12.48, allocations: 31.91 kB / 3.813 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/12.48, allocations: 0 / 3.813 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01418/12.5, allocations: 10.26 MB / 3.823 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/12.54, allocations: 23.95 MB / 3.847 GB, free: 27.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/12.54, allocations: 0 / 3.847 GB, free: 27.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004676/12.54, allocations: 0.6921 MB / 3.847 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06157/12.6, allocations: 9.944 MB / 3.857 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001328/12.6, allocations: 112.3 kB / 3.857 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/12.61, allocations: 4.315 MB / 3.862 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/12.61, allocations: 0 / 3.862 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/12.64, allocations: 18.52 MB / 3.88 GB, free: 31.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009282/12.65, allocations: 1.999 MB / 3.882 GB, free: 31.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003665/12.65, allocations: 79.41 kB / 3.882 GB, free: 31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00847/12.66, allocations: 418.5 kB / 3.882 GB, free: 30.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008698/12.66, allocations: 214 kB / 3.882 GB, free: 30.87 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007206/12.66, allocations: 161.1 kB / 3.882 GB, free: 30.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01037/12.67, allocations: 5.813 MB / 3.888 GB, free: 29.03 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.51e-07/12.67, allocations: 0 / 3.888 GB, free: 29.03 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0256/12.7, allocations: 4.929 MB / 3.893 GB, free: 28.57 MB / 0.7605 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 (305): * Single equations (assignments): 295 * 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,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02956/12.72, allocations: 20.13 MB / 3.913 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.07022/12.8, allocations: 25.68 MB / 3.938 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/12.8, allocations: 6.156 kB / 3.938 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/12.81, allocations: 6.195 MB / 3.944 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0265/12.83, allocations: 4.599 MB / 3.948 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6183/13.45, allocations: 75.64 MB / 4.022 GB, free: 35.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008191/13.46, allocations: 5.368 MB / 4.027 GB, free: 34.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.02311/13.48, allocations: 5.023 MB / 4.032 GB, free: 34.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01128/13.49, allocations: 3.808 MB / 4.036 GB, free: 34.33 MB / 0.7761 GB Notification: Performance of SimCode: time 1.172e-06/13.49, allocations: 2.312 kB / 4.036 GB, free: 34.33 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/14.56, allocations: 292.6 MB / 4.322 GB, free: 137.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/14.56, allocations: 262.5 kB / 4.322 GB, free: 136.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/27.11, allocations: 4 kB / 4.322 GB, free: 136.8 MB / 0.823 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example1v2.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)