Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.901/1.901, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001558/0.001558, allocations: 176.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.3 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009911/0.0009909, allocations: 100.7 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.09e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7252, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.831, allocations: 421.9 MB / 1.385 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.832, allocations: 90.14 kB / 1.385 GB, free: 134.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 9.079/10.91, allocations: 2.261 GB / 3.646 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.745e-06/10.91, allocations: 0 / 3.646 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001746/10.91, allocations: 259.2 kB / 3.646 GB, free: 106.2 MB / 0.9792 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.03083/10.94, allocations: 7.317 MB / 3.653 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/10.94, allocations: 10.56 kB / 3.653 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009455/10.95, allocations: 1.23 MB / 3.655 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03449/10.99, allocations: 12.53 MB / 3.667 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/10.99, allocations: 179.4 kB / 3.667 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003065/10.99, allocations: 350.6 kB / 3.667 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02742/11.02, allocations: 17.77 MB / 3.685 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03487/11.05, allocations: 12.54 MB / 3.697 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005442/11.05, allocations: 25.97 kB / 3.697 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003734/11.06, allocations: 14.14 kB / 3.697 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/11.06, allocations: 138.4 kB / 3.697 GB, free: 100.7 MB / 0.9792 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.1083/11.17, allocations: 54.54 MB / 3.75 GB, free: 71.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/11.18, allocations: 8.651 MB / 3.759 GB, free: 67.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01266/11.19, allocations: 9.197 MB / 3.768 GB, free: 63.11 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05349/11.25, allocations: 26.28 MB / 3.793 GB, free: 36.62 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01092/11.26, allocations: 7.209 MB / 3.801 GB, free: 29.38 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04955/11.31, allocations: 21.05 MB / 3.821 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 5.027e-05/11.31, allocations: 2.438 kB / 3.821 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.8743/12.18, allocations: 15.04 MB / 3.836 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/12.18, allocations: 82.72 kB / 3.836 GB, free: 111 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01765/12.2, allocations: 6.389 MB / 3.842 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002778/12.2, allocations: 31.89 kB / 3.842 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006726/12.21, allocations: 4.003 MB / 3.846 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004302/12.21, allocations: 1.048 MB / 3.847 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/12.21, allocations: 0 / 3.847 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006051/12.22, allocations: 494.7 kB / 3.848 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01079/12.23, allocations: 6.022 MB / 3.853 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/12.24, allocations: 7.791 MB / 3.861 GB, free: 107.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/12.25, allocations: 7.547 MB / 3.868 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/12.25, allocations: 13.69 kB / 3.868 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0464/12.3, allocations: 16.58 MB / 3.885 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007374/12.31, allocations: 24.55 MB / 3.909 GB, free: 81.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002456/12.31, allocations: 45.84 kB / 3.909 GB, free: 81.04 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/12.31, allocations: 1.545 MB / 3.91 GB, free: 81 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/12.32, allocations: 1.604 MB / 3.912 GB, free: 81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/12.34, allocations: 6.95 MB / 3.918 GB, free: 78.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/12.35, allocations: 0.5012 MB / 3.919 GB, free: 78.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003918/12.36, allocations: 0.5453 MB / 3.919 GB, free: 78.11 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/12.36, allocations: 3.625 kB / 3.919 GB, free: 78.11 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04696/12.41, allocations: 15.76 MB / 3.935 GB, free: 77.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003493/12.41, allocations: 48.52 kB / 3.935 GB, free: 77.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005188/12.41, allocations: 1.414 MB / 3.936 GB, free: 77.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009944/12.42, allocations: 1.605 MB / 3.938 GB, free: 77.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/12.44, allocations: 10.51 MB / 3.948 GB, free: 73.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/12.45, allocations: 489 kB / 3.949 GB, free: 73.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003445/12.46, allocations: 0.5394 MB / 3.949 GB, free: 73.27 MB / 0.9792 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.005246/12.46, allocations: 258.8 kB / 3.949 GB, free: 73.16 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0387/12.5, allocations: 14.86 MB / 3.964 GB, free: 72.62 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005365/12.51, allocations: 0.699 MB / 3.965 GB, free: 72.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03693/12.54, allocations: 13.75 MB / 3.978 GB, free: 71.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.094e-05/12.54, allocations: 43.3 kB / 3.978 GB, free: 71.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/12.54, allocations: 0 / 3.978 GB, free: 71.95 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02084/12.56, allocations: 10.47 MB / 3.988 GB, free: 71.45 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05027/12.61, allocations: 23.49 MB / 4.011 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/12.61, allocations: 2.562 kB / 4.011 GB, free: 68.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005774/12.62, allocations: 0.6964 MB / 4.012 GB, free: 68.24 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/12.62, allocations: 0.7051 MB / 4.013 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/12.62, allocations: 61.98 kB / 4.013 GB, free: 68.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/12.63, allocations: 5.006 MB / 4.018 GB, free: 81.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/12.63, allocations: 0 / 4.018 GB, free: 81.38 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03181/12.67, allocations: 18.46 MB / 4.036 GB, free: 75.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009832/12.68, allocations: 1.927 MB / 4.037 GB, free: 74.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003479/12.68, allocations: 25.22 kB / 4.037 GB, free: 74.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00889/12.69, allocations: 366 kB / 4.038 GB, free: 74.12 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/12.69, allocations: 217.2 kB / 4.038 GB, free: 74.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007192/12.69, allocations: 158.8 kB / 4.038 GB, free: 74.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009826/12.7, allocations: 4.848 MB / 4.043 GB, free: 72.45 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.41e-07/12.7, allocations: 3.344 kB / 4.043 GB, free: 72.45 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02829/12.73, allocations: 5.007 MB / 4.048 GB, free: 72.14 MB / 0.9948 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.03181/12.76, allocations: 19.97 MB / 4.067 GB, free: 62.77 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.03926/12.8, allocations: 23.06 MB / 4.09 GB, free: 53.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/12.8, allocations: 3.688 kB / 4.09 GB, free: 53.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.008701/12.81, allocations: 6 MB / 4.096 GB, free: 50.22 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02385/12.83, allocations: 4.003 MB / 4.1 GB, free: 49.58 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04944/12.88, allocations: 19 MB / 4.118 GB, free: 43.19 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006208/12.89, allocations: 5.366 MB / 4.123 GB, free: 41.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02951/12.92, allocations: 7.248 MB / 4.13 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009025/12.93, allocations: 3.656 MB / 4.134 GB, free: 35.87 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/12.93, allocations: 3.938 kB / 4.134 GB, free: 35.86 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.122/14.05, allocations: 266.4 MB / 4.394 GB, free: 116.1 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/14.05, allocations: 166.4 kB / 4.394 GB, free: 115.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/25.91, allocations: 0 / 4.394 GB, free: 115.9 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)