Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 289.9 MB / 297.4 MB, free: 6.434 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.001127/0.001127, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.531/1.531, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0009577/0.0009573, allocations: 94.7 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.526e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7454/0.7455, allocations: 116.3 MB / 0.9733 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.885, allocations: 421.7 MB / 1.385 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/1.885, allocations: 94.03 kB / 1.385 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.8/6.685, allocations: 1.3 GB / 2.685 GB, free: 31.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/6.685, allocations: 0 / 2.685 GB, free: 31.19 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006681/6.686, allocations: 99.83 kB / 2.685 GB, free: 31.09 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.01111/6.697, allocations: 3.105 MB / 2.688 GB, free: 27.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/6.697, allocations: 8.031 kB / 2.688 GB, free: 27.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/6.7, allocations: 0.5384 MB / 2.689 GB, free: 27.38 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/6.711, allocations: 4.314 MB / 2.693 GB, free: 23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/6.712, allocations: 48 kB / 2.693 GB, free: 22.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004751/6.712, allocations: 116.5 kB / 2.693 GB, free: 22.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002597/6.715, allocations: 1.622 MB / 2.695 GB, free: 21.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/6.717, allocations: 1.817 MB / 2.697 GB, free: 19.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/6.717, allocations: 7.938 kB / 2.697 GB, free: 19.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/6.717, allocations: 11.98 kB / 2.697 GB, free: 19.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/6.717, allocations: 40 kB / 2.697 GB, free: 19.2 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.01286/6.73, allocations: 11.21 MB / 2.708 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/6.732, allocations: 1.23 MB / 2.709 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/6.733, allocations: 0.9009 MB / 2.71 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005422/6.738, allocations: 3.4 MB / 2.713 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/6.739, allocations: 0.6448 MB / 2.714 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002107/6.741, allocations: 0.5727 MB / 2.714 GB, free: 284 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 3.416e-06/6.741, allocations: 4 kB / 2.714 GB, free: 280 kB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.6922/7.433, allocations: 2.434 MB / 2.717 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/7.433, allocations: 72.67 kB / 2.717 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/7.438, allocations: 2.19 MB / 2.719 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/7.438, allocations: 30.83 kB / 2.719 GB, free: 138.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/7.44, allocations: 1.412 MB / 2.72 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/7.44, allocations: 335.3 kB / 2.721 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/7.44, allocations: 0 / 2.721 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001231/7.441, allocations: 365 kB / 2.721 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/7.442, allocations: 0.5214 MB / 2.721 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/7.443, allocations: 1.275 MB / 2.723 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/7.449, allocations: 1.327 MB / 2.724 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/7.449, allocations: 3.812 kB / 2.724 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009746/7.458, allocations: 2.913 MB / 2.727 GB, free: 137 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001463/7.46, allocations: 5.949 MB / 2.733 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/7.46, allocations: 12.69 kB / 2.733 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/7.461, allocations: 433.6 kB / 2.733 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/7.462, allocations: 264.7 kB / 2.733 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/7.464, allocations: 2.02 MB / 2.735 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/7.467, allocations: 140.1 kB / 2.735 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/7.468, allocations: 83.11 kB / 2.736 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/7.468, allocations: 4.5 kB / 2.736 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00754/7.475, allocations: 2.515 MB / 2.738 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/7.475, allocations: 14.03 kB / 2.738 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008059/7.476, allocations: 406.2 kB / 2.738 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/7.477, allocations: 262.7 kB / 2.739 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006304/7.483, allocations: 5.604 MB / 2.744 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/7.486, allocations: 138 kB / 2.744 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/7.487, allocations: 74.11 kB / 2.744 GB, free: 126.7 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.000537/7.487, allocations: 158 kB / 2.744 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006756/7.494, allocations: 2.287 MB / 2.747 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006228/7.495, allocations: 284.2 kB / 2.747 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/7.502, allocations: 2.579 MB / 2.749 GB, free: 126 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/7.502, allocations: 10.56 kB / 2.749 GB, free: 126 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/7.502, allocations: 0 / 2.749 GB, free: 126 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005458/7.507, allocations: 2.313 MB / 2.752 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/7.518, allocations: 4.355 MB / 2.756 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/7.518, allocations: 0 / 2.756 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/7.519, allocations: 136.2 kB / 2.756 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/7.52, allocations: 396 kB / 2.757 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/7.52, allocations: 21.3 kB / 2.757 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/7.521, allocations: 1.853 MB / 2.758 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/7.521, allocations: 5.734 kB / 2.758 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/7.531, allocations: 3.26 MB / 2.762 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002417/7.534, allocations: 489.2 kB / 2.762 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009855/7.535, allocations: 6.703 kB / 2.762 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/7.537, allocations: 129.1 kB / 2.762 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/7.538, allocations: 64.77 kB / 2.762 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/7.538, allocations: 39.27 kB / 2.762 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00322/7.541, allocations: 1.672 MB / 2.764 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.61e-07/7.541, allocations: 0 / 2.764 GB, free: 123.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006646/7.548, allocations: 1.388 MB / 2.765 GB, free: 123.1 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.0103/7.558, allocations: 4.665 MB / 2.77 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005505/7.564, allocations: 2.761 MB / 2.772 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/7.564, allocations: 1.469 kB / 2.772 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/7.565, allocations: 0.628 MB / 2.773 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/7.572, allocations: 1.075 MB / 2.774 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/7.583, allocations: 4.49 MB / 2.779 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/7.585, allocations: 2.095 MB / 2.781 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00564/7.591, allocations: 1.409 MB / 2.782 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/7.592, allocations: 1.096 MB / 2.783 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.603e-06/7.592, allocations: 0 / 2.783 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/7.733, allocations: 78.16 MB / 2.859 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/7.733, allocations: 159.4 kB / 2.859 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.363/13.1, allocations: 4 kB / 2.86 GB, free: 116.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)