Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7506/0.7506, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 185.8 kB / 173.7 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 89.55 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 12.19 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1658, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.229/1.395, allocations: 390.4 MB / 1.017 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.395, allocations: 109.4 kB / 1.017 GB, free: 234.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.095/9.491, allocations: 2.298 GB / 3.314 GB, free: 9.184 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/9.491, allocations: 0 / 3.314 GB, free: 9.184 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001604/9.492, allocations: 255.7 kB / 3.315 GB, free: 8.934 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: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.9695/10.46, allocations: 9.463 MB / 3.324 GB, free: 72.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/10.46, allocations: 9.688 kB / 3.324 GB, free: 72.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004944/10.47, allocations: 0.7703 MB / 3.325 GB, free: 72.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/10.48, allocations: 1.268 MB / 3.326 GB, free: 72.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04405/10.52, allocations: 14.53 MB / 3.34 GB, free: 71.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006602/10.52, allocations: 437.2 kB / 3.341 GB, free: 71.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003286/10.53, allocations: 0.5806 MB / 3.341 GB, free: 71.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04171/10.57, allocations: 14.15 MB / 3.355 GB, free: 70.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006618/10.57, allocations: 23.62 kB / 3.355 GB, free: 70.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003871/10.57, allocations: 241.8 kB / 3.355 GB, free: 70.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/10.57, allocations: 137.8 kB / 3.355 GB, free: 70.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0391/10.61, allocations: 18.84 MB / 3.374 GB, free: 70.45 MB / 0.698 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.1049/10.72, allocations: 56.02 MB / 3.428 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/10.73, allocations: 9.163 MB / 3.437 GB, free: 51.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04733/10.78, allocations: 24.51 MB / 3.461 GB, free: 43.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0161/10.8, allocations: 7.991 MB / 3.469 GB, free: 43.79 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0483/10.85, allocations: 21.15 MB / 3.49 GB, free: 42.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=279): time 3.843e-05/10.85, allocations: 0 / 3.49 GB, free: 42.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=279): time 0.06946/10.92, allocations: 24.29 MB / 3.513 GB, free: 34.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/10.92, allocations: 134.3 kB / 3.514 GB, free: 34.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/10.93, allocations: 7.298 MB / 3.521 GB, free: 32.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002661/10.94, allocations: 96.8 kB / 3.521 GB, free: 32.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005351/10.94, allocations: 4.069 MB / 3.525 GB, free: 29.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00339/10.94, allocations: 1.005 MB / 3.526 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/10.95, allocations: 88.97 kB / 3.526 GB, free: 28.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004199/10.95, allocations: 489.5 kB / 3.526 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01082/10.96, allocations: 6.268 MB / 3.532 GB, free: 25.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/10.97, allocations: 8.188 MB / 3.54 GB, free: 20.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/10.98, allocations: 7.141 MB / 3.547 GB, free: 16.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.481e-05/10.98, allocations: 16 kB / 3.547 GB, free: 16.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05047/11.03, allocations: 17.98 MB / 3.565 GB, free: 1.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01395/11.05, allocations: 27.81 MB / 3.592 GB, free: 4.23 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002436/11.05, allocations: 55.95 kB / 3.592 GB, free: 4.176 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6221/11.67, allocations: 11.95 MB / 3.604 GB, free: 99.96 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009512/11.68, allocations: 1.569 MB / 3.605 GB, free: 99.96 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/11.7, allocations: 7.159 MB / 3.612 GB, free: 97.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/11.71, allocations: 0.5556 MB / 3.613 GB, free: 97.14 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003277/11.71, allocations: 0.5568 MB / 3.613 GB, free: 97.14 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/11.71, allocations: 6.531 kB / 3.613 GB, free: 97.14 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03348/11.75, allocations: 15.96 MB / 3.629 GB, free: 96.84 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003134/11.75, allocations: 51.47 kB / 3.629 GB, free: 96.84 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06662/11.81, allocations: 10.63 MB / 3.639 GB, free: 96.8 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008662/11.82, allocations: 1.56 MB / 3.641 GB, free: 96.8 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/11.83, allocations: 10.14 MB / 3.651 GB, free: 92.27 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/11.85, allocations: 0.4934 MB / 3.651 GB, free: 92.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003388/11.85, allocations: 0.5388 MB / 3.652 GB, free: 92.27 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * 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 (505): * Single equations (assignments): 499 * 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.009587/11.86, allocations: 2.636 MB / 3.654 GB, free: 92.08 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004213/11.86, allocations: 0.7505 MB / 3.655 GB, free: 92.08 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04138/11.91, allocations: 14.79 MB / 3.67 GB, free: 91.8 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/11.91, allocations: 29.91 kB / 3.67 GB, free: 91.8 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/11.91, allocations: 3.094 kB / 3.67 GB, free: 91.8 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02923/11.93, allocations: 11.27 MB / 3.681 GB, free: 91.31 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05944/11.99, allocations: 24.72 MB / 3.705 GB, free: 88.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/11.99, allocations: 2.953 kB / 3.705 GB, free: 88.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005128/12, allocations: 0.5903 MB / 3.705 GB, free: 88.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06251/12.06, allocations: 10.34 MB / 3.716 GB, free: 87.73 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001402/12.06, allocations: 104.2 kB / 3.716 GB, free: 87.73 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04199/12.11, allocations: 14.16 MB / 3.729 GB, free: 83.02 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/12.11, allocations: 0 / 3.729 GB, free: 83.02 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04082/12.15, allocations: 19.42 MB / 3.748 GB, free: 82.48 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008766/12.15, allocations: 1.955 MB / 3.75 GB, free: 81.98 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00406/12.16, allocations: 66.67 kB / 3.75 GB, free: 81.98 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009791/12.17, allocations: 420.4 kB / 3.751 GB, free: 81.93 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/12.17, allocations: 231.2 kB / 3.751 GB, free: 81.92 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000944/12.17, allocations: 157.9 kB / 3.751 GB, free: 81.92 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.01181/12.18, allocations: 5.696 MB / 3.757 GB, free: 81.29 MB / 0.7293 GB Notification: Performance of sort global known variables: time 5.21e-07/12.18, allocations: 1.125 kB / 3.757 GB, free: 81.29 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.02767/12.21, allocations: 4.928 MB / 3.762 GB, free: 80.82 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (281): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.04431/12.26, allocations: 21.19 MB / 3.782 GB, free: 71.15 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.04577/12.3, allocations: 23.53 MB / 3.805 GB, free: 55.76 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/12.3, allocations: 5 kB / 3.805 GB, free: 55.76 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.01621/12.32, allocations: 7.075 MB / 3.812 GB, free: 49.55 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02384/12.34, allocations: 4.6 MB / 3.817 GB, free: 46.3 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5629/12.9, allocations: 79.37 MB / 3.894 GB, free: 92.69 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01059/12.92, allocations: 5.373 MB / 3.899 GB, free: 91.82 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.02445/12.94, allocations: 5.031 MB / 3.904 GB, free: 91.75 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01109/12.95, allocations: 3.816 MB / 3.908 GB, free: 91.75 MB / 0.7449 GB Notification: Performance of SimCode: time 1.222e-06/12.95, allocations: 1.125 kB / 3.908 GB, free: 91.75 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9983/13.95, allocations: 301.7 MB / 4.203 GB, free: 124.3 MB / 0.7762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/13.95, allocations: 256.5 kB / 4.203 GB, free: 123.9 MB / 0.7762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/25.75, allocations: 0 / 4.203 GB, free: 123.9 MB / 0.7762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)