Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2",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.568/2.568, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001523/0.001523, allocations: 173.5 kB / 370.8 MB, free: 10.86 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.044/2.044, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 96.41 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 12.47 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2264, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.299/1.526, allocations: 404.2 MB / 1.373 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.526, allocations: 101.9 kB / 1.373 GB, free: 8.91 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.882/4.408, allocations: 480.1 MB / 1.842 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.755e-06/4.408, allocations: 0 / 1.842 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002007/4.408, allocations: 36.52 kB / 1.842 GB, free: 225.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.006577/4.415, allocations: 1.966 MB / 1.844 GB, free: 225.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/4.415, allocations: 7.469 kB / 1.844 GB, free: 225.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/4.415, allocations: 122.6 kB / 1.844 GB, free: 225.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/4.417, allocations: 244.8 kB / 1.844 GB, free: 225 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006764/4.424, allocations: 1.964 MB / 1.846 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.57e-05/4.424, allocations: 63.53 kB / 1.846 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/4.424, allocations: 85.22 kB / 1.846 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/4.426, allocations: 0.958 MB / 1.847 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/4.427, allocations: 3 kB / 1.847 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/4.427, allocations: 32.44 kB / 1.847 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/4.427, allocations: 19.03 kB / 1.847 GB, free: 224.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/4.429, allocations: 0.7096 MB / 1.848 GB, free: 224.5 MB / 0.9323 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.008099/4.437, allocations: 4.601 MB / 1.852 GB, free: 222 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/4.439, allocations: 0.5928 MB / 1.853 GB, free: 222 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003756/4.443, allocations: 1.706 MB / 1.855 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/4.444, allocations: 337.4 kB / 1.855 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007919/4.445, allocations: 120.3 kB / 1.855 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 3.166e-06/4.445, allocations: 0 / 1.855 GB, free: 221.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.004411/4.449, allocations: 1.112 MB / 1.856 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/4.449, allocations: 64.92 kB / 1.856 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/4.451, allocations: 1.121 MB / 1.857 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/4.451, allocations: 39.11 kB / 1.857 GB, free: 220.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006439/4.452, allocations: 0.6419 MB / 1.858 GB, free: 220.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/4.452, allocations: 156.1 kB / 1.858 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/4.452, allocations: 14.66 kB / 1.858 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/4.452, allocations: 336.4 kB / 1.859 GB, free: 220 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/4.453, allocations: 237 kB / 1.859 GB, free: 220 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/4.454, allocations: 0.5757 MB / 1.859 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/4.455, allocations: 359.1 kB / 1.86 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/4.455, allocations: 3.469 kB / 1.86 GB, free: 219.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003045/4.459, allocations: 1.014 MB / 1.861 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006478/4.459, allocations: 3.048 MB / 1.864 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/4.459, allocations: 7.062 kB / 1.864 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/4.46, allocations: 142.9 kB / 1.864 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/4.461, allocations: 147.8 kB / 1.864 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009745/4.462, allocations: 0.7685 MB / 1.865 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/4.464, allocations: 79.66 kB / 1.865 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/4.464, allocations: 41.34 kB / 1.865 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/4.464, allocations: 6.75 kB / 1.865 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/4.466, allocations: 0.9191 MB / 1.866 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/4.466, allocations: 9.031 kB / 1.866 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/4.466, allocations: 107.1 kB / 1.866 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/4.467, allocations: 136.8 kB / 1.866 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/4.47, allocations: 2.232 MB / 1.868 GB, free: 214 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/4.472, allocations: 81.48 kB / 1.868 GB, free: 214 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/4.472, allocations: 39.16 kB / 1.868 GB, free: 214 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001018/4.473, allocations: 481.4 kB / 1.869 GB, free: 213.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/4.473, allocations: 131.3 kB / 1.869 GB, free: 213.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/4.476, allocations: 0.8873 MB / 1.87 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/4.476, allocations: 3.781 kB / 1.87 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/4.476, allocations: 6.859 kB / 1.87 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002026/4.478, allocations: 0.8784 MB / 1.871 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/4.483, allocations: 1.868 MB / 1.872 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/4.483, allocations: 7.125 kB / 1.872 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/4.483, allocations: 83.92 kB / 1.872 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/4.484, allocations: 124 kB / 1.873 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/4.484, allocations: 11 kB / 1.873 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/4.485, allocations: 0.746 MB / 1.873 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/4.485, allocations: 13.52 kB / 1.873 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/4.488, allocations: 1.23 MB / 1.875 GB, free: 212 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007262/4.489, allocations: 267 kB / 1.875 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/4.489, allocations: 13.31 kB / 1.875 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/4.49, allocations: 70.42 kB / 1.875 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/4.49, allocations: 35.78 kB / 1.875 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/4.491, allocations: 27.48 kB / 1.875 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001646/4.492, allocations: 0.8775 MB / 1.876 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.01e-07/4.492, allocations: 6.406 kB / 1.876 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002955/4.495, allocations: 0.7188 MB / 1.877 GB, free: 211.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (41): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005185/4.5, allocations: 2.539 MB / 1.879 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003911/4.504, allocations: 1.312 MB / 1.88 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/4.504, allocations: 0 / 1.88 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/4.506, allocations: 335.3 kB / 1.881 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004143/4.51, allocations: 0.5664 MB / 1.881 GB, free: 210.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00871/4.518, allocations: 8.799 MB / 1.89 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000967/4.519, allocations: 1.303 MB / 1.891 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002141/4.522, allocations: 301.7 kB / 1.891 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/4.523, allocations: 495.1 kB / 1.892 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.693e-06/4.523, allocations: 3.312 kB / 1.892 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/4.662, allocations: 40.74 MB / 1.932 GB, free: 197.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/4.663, allocations: 255 kB / 1.932 GB, free: 197 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/8.89, allocations: 0 / 1.932 GB, free: 197 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)