Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.447/2.447, allocations: 284.9 MB / 292.4 MB, free: 10.57 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: 184.9 kB / 360.6 MB, free: 7.289 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.071/2.071, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001047/0.001046, allocations: 90 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.052e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8068/0.8069, allocations: 115.2 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/2.114, allocations: 420.5 MB / 1.374 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/2.114, allocations: 93.12 kB / 1.374 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.749/8.863, allocations: 1.3 GB / 2.674 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.774e-06/8.863, allocations: 0 / 2.674 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007599/8.864, allocations: 95.89 kB / 2.674 GB, free: 13.47 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01823/8.882, allocations: 3.113 MB / 2.677 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/8.882, allocations: 8.031 kB / 2.677 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/8.887, allocations: 0.5358 MB / 2.678 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02246/8.91, allocations: 4.313 MB / 2.682 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/8.91, allocations: 52 kB / 2.682 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008036/8.911, allocations: 112 kB / 2.682 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00562/8.917, allocations: 1.619 MB / 2.684 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005811/8.922, allocations: 1.817 MB / 2.686 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/8.923, allocations: 7.938 kB / 2.686 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/8.923, allocations: 4 kB / 2.686 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/8.923, allocations: 40 kB / 2.686 GB, free: 1.578 MB / 0.9636 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.7432/9.666, allocations: 11.2 MB / 2.697 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/9.67, allocations: 1.236 MB / 2.698 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/9.672, allocations: 0.8998 MB / 2.699 GB, free: 142.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/9.682, allocations: 3.399 MB / 2.702 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/9.683, allocations: 0.6484 MB / 2.703 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003807/9.687, allocations: 0.5799 MB / 2.703 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 8.436e-06/9.687, allocations: 0 / 2.703 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.01338/9.7, allocations: 2.457 MB / 2.706 GB, free: 141 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/9.701, allocations: 62.06 kB / 2.706 GB, free: 140.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/9.706, allocations: 2.194 MB / 2.708 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003812/9.707, allocations: 36.12 kB / 2.708 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/9.708, allocations: 1.416 MB / 2.709 GB, free: 140.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006037/9.709, allocations: 332.2 kB / 2.71 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/9.709, allocations: 0 / 2.71 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001269/9.709, allocations: 360.3 kB / 2.71 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/9.711, allocations: 0.5235 MB / 2.71 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/9.712, allocations: 1.272 MB / 2.712 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008584/9.721, allocations: 1.322 MB / 2.713 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/9.721, allocations: 4.031 kB / 2.713 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0138/9.735, allocations: 2.92 MB / 2.716 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/9.736, allocations: 5.934 MB / 2.722 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/9.736, allocations: 14.81 kB / 2.722 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/9.738, allocations: 440.4 kB / 2.722 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/9.74, allocations: 274.3 kB / 2.722 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/9.743, allocations: 2.017 MB / 2.724 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/9.747, allocations: 141.2 kB / 2.724 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/9.747, allocations: 81.16 kB / 2.724 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/9.747, allocations: 8.859 kB / 2.724 GB, free: 131.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/9.759, allocations: 2.514 MB / 2.727 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/9.759, allocations: 15 kB / 2.727 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/9.761, allocations: 406.8 kB / 2.727 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/9.763, allocations: 259.7 kB / 2.728 GB, free: 131 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/9.772, allocations: 5.603 MB / 2.733 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/9.776, allocations: 152.7 kB / 2.733 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002762/9.776, allocations: 71.59 kB / 2.733 GB, free: 128.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005274/9.777, allocations: 152.8 kB / 2.733 GB, free: 128.2 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01125/9.788, allocations: 2.28 MB / 2.736 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009783/9.789, allocations: 280.2 kB / 2.736 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/9.801, allocations: 2.577 MB / 2.738 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/9.801, allocations: 19.27 kB / 2.738 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/9.801, allocations: 0 / 2.738 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01007/9.811, allocations: 2.304 MB / 2.741 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/9.829, allocations: 4.367 MB / 2.745 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/9.829, allocations: 4.75 kB / 2.745 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/9.83, allocations: 134.3 kB / 2.745 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/9.831, allocations: 383.6 kB / 2.745 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/9.832, allocations: 17.61 kB / 2.745 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/9.834, allocations: 1.861 MB / 2.747 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/9.834, allocations: 1.125 kB / 2.747 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/9.848, allocations: 3.261 MB / 2.75 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/9.85, allocations: 484.4 kB / 2.751 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007785/9.851, allocations: 1.969 kB / 2.751 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/9.854, allocations: 138 kB / 2.751 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/9.854, allocations: 64.39 kB / 2.751 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/9.854, allocations: 39.22 kB / 2.751 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004439/9.859, allocations: 1.673 MB / 2.753 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.91e-07/9.859, allocations: 2.375 kB / 2.753 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008133/9.867, allocations: 1.39 MB / 2.754 GB, free: 124.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01519/9.882, allocations: 4.654 MB / 2.759 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008252/9.89, allocations: 2.752 MB / 2.761 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/9.89, allocations: 4.688 kB / 2.761 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/9.892, allocations: 0.6294 MB / 2.762 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009616/9.902, allocations: 1.075 MB / 2.763 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/9.917, allocations: 4.495 MB / 2.767 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002504/9.92, allocations: 2.095 MB / 2.77 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009259/9.929, allocations: 1.412 MB / 2.771 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/9.931, allocations: 1.102 MB / 2.772 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.523e-06/9.932, allocations: 0 / 2.772 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/10.14, allocations: 78.14 MB / 2.848 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/10.14, allocations: 175.5 kB / 2.848 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.171/16.31, allocations: 0 / 2.848 GB, free: 117.5 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)