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.8308/0.8308, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001052/0.001052, allocations: 187.8 kB / 182.2 MB, free: 9.457 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.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009336/0.0009335, allocations: 95.97 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 281.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.088e-05, allocations: 3.938 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4687, allocations: 82.78 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8323/1.301, allocations: 378.6 MB / 1.127 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.301, allocations: 95.73 kB / 1.127 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.266/10.57, allocations: 2.304 GB / 3.432 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/10.57, allocations: 0 / 3.432 GB, free: 74.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.001646/10.57, allocations: 253.2 kB / 3.432 GB, free: 74.65 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.03112/10.6, allocations: 7.314 MB / 3.439 GB, free: 71.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/10.6, allocations: 12.75 kB / 3.439 GB, free: 71.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/10.61, allocations: 1.23 MB / 3.44 GB, free: 71.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03354/10.65, allocations: 12.54 MB / 3.453 GB, free: 70.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/10.65, allocations: 180 kB / 3.453 GB, free: 70.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/10.65, allocations: 353.5 kB / 3.453 GB, free: 70.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02717/10.68, allocations: 17.76 MB / 3.47 GB, free: 70 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02794/10.7, allocations: 12.54 MB / 3.483 GB, free: 69.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002183/10.7, allocations: 24.12 kB / 3.483 GB, free: 69.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/10.71, allocations: 11.34 kB / 3.483 GB, free: 69.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.323e-05/10.71, allocations: 136.8 kB / 3.483 GB, free: 69.19 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.0995/10.81, allocations: 54.57 MB / 3.536 GB, free: 48.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/10.82, allocations: 8.642 MB / 3.545 GB, free: 44.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01179/10.83, allocations: 9.202 MB / 3.554 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05536/10.89, allocations: 26.28 MB / 3.579 GB, free: 20.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01177/10.9, allocations: 7.21 MB / 3.586 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.6714/11.57, allocations: 21.04 MB / 3.607 GB, free: 81.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=301): time 4.578e-05/11.57, allocations: 0 / 3.607 GB, free: 81.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=301): time 0.03792/11.61, allocations: 15.04 MB / 3.621 GB, free: 81.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/11.61, allocations: 82.88 kB / 3.622 GB, free: 81.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/11.62, allocations: 6.407 MB / 3.628 GB, free: 81.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002787/11.62, allocations: 33.61 kB / 3.628 GB, free: 81.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.004854/11.63, allocations: 3.995 MB / 3.632 GB, free: 80.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.003426/11.63, allocations: 1.042 MB / 3.633 GB, free: 80.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/11.63, allocations: 1.688 kB / 3.633 GB, free: 80.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003349/11.63, allocations: 491.7 kB / 3.633 GB, free: 79.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007549/11.64, allocations: 6.027 MB / 3.639 GB, free: 79.69 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/11.65, allocations: 7.796 MB / 3.647 GB, free: 77.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/11.67, allocations: 7.547 MB / 3.654 GB, free: 77.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/11.67, allocations: 13.41 kB / 3.654 GB, free: 77.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04358/11.71, allocations: 16.58 MB / 3.67 GB, free: 76.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.005889/11.72, allocations: 24.56 MB / 3.694 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/11.72, allocations: 47.38 kB / 3.694 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/11.72, allocations: 1.542 MB / 3.696 GB, free: 51.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009313/11.73, allocations: 1.609 MB / 3.697 GB, free: 51.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/11.74, allocations: 6.939 MB / 3.704 GB, free: 48.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/11.76, allocations: 0.5057 MB / 3.705 GB, free: 48.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003634/11.76, allocations: 0.5423 MB / 3.705 GB, free: 48.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/11.76, allocations: 6.938 kB / 3.705 GB, free: 48.34 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04104/11.8, allocations: 15.75 MB / 3.721 GB, free: 47.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002567/11.8, allocations: 48.72 kB / 3.721 GB, free: 47.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/11.81, allocations: 1.411 MB / 3.722 GB, free: 47.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00892/11.82, allocations: 1.603 MB / 3.724 GB, free: 47.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/11.83, allocations: 10.51 MB / 3.734 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/11.85, allocations: 493.3 kB / 3.734 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00365/11.85, allocations: 0.5329 MB / 3.735 GB, free: 43.2 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 () * 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.005136/11.85, allocations: 261.2 kB / 3.735 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03551/11.89, allocations: 14.88 MB / 3.75 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004655/11.89, allocations: 0.698 MB / 3.75 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03521/11.93, allocations: 13.75 MB / 3.764 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/11.93, allocations: 40.44 kB / 3.764 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/11.93, allocations: 0 / 3.764 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02043/11.95, allocations: 10.46 MB / 3.774 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04375/11.99, allocations: 23.49 MB / 3.797 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/11.99, allocations: 0 / 3.797 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004819/12, allocations: 0.7024 MB / 3.798 GB, free: 30.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/12, allocations: 0.6972 MB / 3.798 GB, free: 30.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005811/12, allocations: 62.98 kB / 3.798 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008817/12.01, allocations: 5.01 MB / 3.803 GB, free: 43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/12.01, allocations: 0.75 kB / 3.803 GB, free: 43 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/12.04, allocations: 18.47 MB / 3.821 GB, free: 34.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007972/12.05, allocations: 1.93 MB / 3.823 GB, free: 33.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003585/12.05, allocations: 23.64 kB / 3.823 GB, free: 33.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009412/12.06, allocations: 365.7 kB / 3.824 GB, free: 33.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/12.06, allocations: 214 kB / 3.824 GB, free: 33.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/12.06, allocations: 158.7 kB / 3.824 GB, free: 33.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0131/12.08, allocations: 4.856 MB / 3.829 GB, free: 31.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.62e-07/12.08, allocations: 0 / 3.829 GB, free: 31.59 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.03474/12.11, allocations: 5.024 MB / 3.834 GB, free: 31.28 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) * 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.03689/12.15, allocations: 19.96 MB / 3.853 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0588/12.21, allocations: 24.48 MB / 3.877 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/12.21, allocations: 4 kB / 3.877 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/12.22, allocations: 6.003 MB / 3.883 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02364/12.24, allocations: 3.996 MB / 3.887 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5829/12.82, allocations: 18.99 MB / 3.905 GB, free: 103.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005389/12.83, allocations: 5.375 MB / 3.91 GB, free: 103 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.03136/12.86, allocations: 7.322 MB / 3.918 GB, free: 103 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009547/12.87, allocations: 3.655 MB / 3.921 GB, free: 103 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/12.87, allocations: 0 / 3.921 GB, free: 103 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9828/13.85, allocations: 266.2 MB / 4.181 GB, free: 103 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/13.85, allocations: 176.2 kB / 4.181 GB, free: 102.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/26.27, allocations: 0 / 4.181 GB, free: 102.8 MB / 0.8073 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)