Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001259/0.001259, allocations: 172.9 kB / 366.7 MB, free: 1.648 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.777/1.777, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.001005/0.001005, allocations: 85.92 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.887e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7286, allocations: 116.3 MB / 0.9733 GB, free: 75.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.797, allocations: 404.6 MB / 1.368 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.797, allocations: 93.94 kB / 1.368 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.523/3.32, allocations: 475.4 MB / 1.833 GB, free: 158.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.382e-06/3.32, allocations: 0 / 1.833 GB, free: 158.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001504/3.32, allocations: 43.3 kB / 1.833 GB, free: 158.4 MB / 0.948 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.002857/3.323, allocations: 1.517 MB / 1.834 GB, free: 156.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/3.323, allocations: 8.031 kB / 1.834 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/3.324, allocations: 241.9 kB / 1.835 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/3.328, allocations: 1.93 MB / 1.836 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/3.328, allocations: 24 kB / 1.836 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/3.328, allocations: 56 kB / 1.836 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009532/3.329, allocations: 0.6131 MB / 1.837 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/3.33, allocations: 0.8203 MB / 1.838 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/3.33, allocations: 0 / 1.838 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.646e-05/3.33, allocations: 0 / 1.838 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/3.33, allocations: 23.95 kB / 1.838 GB, free: 153 MB / 0.948 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.004611/3.335, allocations: 4.451 MB / 1.842 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/3.335, allocations: 0.5625 MB / 1.843 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/3.336, allocations: 298.6 kB / 1.843 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/3.338, allocations: 1.672 MB / 1.845 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/3.338, allocations: 294.3 kB / 1.845 GB, free: 145.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004014/3.339, allocations: 95.45 kB / 1.845 GB, free: 145.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 2.375e-06/3.339, allocations: 4 kB / 1.845 GB, free: 145.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.001511/3.34, allocations: 0.7042 MB / 1.846 GB, free: 144.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/3.34, allocations: 55.41 kB / 1.846 GB, free: 144.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/3.341, allocations: 0.9989 MB / 1.847 GB, free: 143.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/3.342, allocations: 29.7 kB / 1.847 GB, free: 143.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/3.342, allocations: 0.6368 MB / 1.847 GB, free: 142.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/3.342, allocations: 157.4 kB / 1.848 GB, free: 142.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/3.342, allocations: 4 kB / 1.848 GB, free: 142.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.637e-05/3.342, allocations: 333.9 kB / 1.848 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/3.342, allocations: 213.4 kB / 1.848 GB, free: 142.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/3.343, allocations: 0.5283 MB / 1.849 GB, free: 141.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007807/3.344, allocations: 342.6 kB / 1.849 GB, free: 141.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/3.344, allocations: 4 kB / 1.849 GB, free: 141.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001685/3.345, allocations: 0.9363 MB / 1.85 GB, free: 140.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006664/3.346, allocations: 3.038 MB / 1.853 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/3.346, allocations: 8 kB / 1.853 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/3.346, allocations: 132 kB / 1.853 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/3.347, allocations: 139.8 kB / 1.853 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006214/3.348, allocations: 0.7941 MB / 1.854 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/3.349, allocations: 67.8 kB / 1.854 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/3.349, allocations: 36.05 kB / 1.854 GB, free: 135.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/3.349, allocations: 4.938 kB / 1.854 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001584/3.35, allocations: 0.786 MB / 1.855 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/3.35, allocations: 8 kB / 1.855 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/3.351, allocations: 109.1 kB / 1.855 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/3.351, allocations: 139.8 kB / 1.855 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/3.353, allocations: 2.119 MB / 1.857 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/3.354, allocations: 67.84 kB / 1.857 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/3.354, allocations: 32 kB / 1.857 GB, free: 132.3 MB / 0.948 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 () * 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.0002562/3.354, allocations: 128.8 kB / 1.857 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00149/3.356, allocations: 0.6515 MB / 1.858 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/3.356, allocations: 122.4 kB / 1.858 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/3.358, allocations: 0.8027 MB / 1.859 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/3.358, allocations: 4 kB / 1.859 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/3.358, allocations: 3.938 kB / 1.859 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/3.359, allocations: 0.8083 MB / 1.86 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/3.362, allocations: 1.681 MB / 1.861 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/3.362, allocations: 0 / 1.861 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/3.362, allocations: 87.94 kB / 1.861 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/3.363, allocations: 96.8 kB / 1.861 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/3.363, allocations: 11.98 kB / 1.861 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005475/3.363, allocations: 0.7474 MB / 1.862 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.363, allocations: 3.938 kB / 1.862 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/3.365, allocations: 1.117 MB / 1.863 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/3.365, allocations: 259.4 kB / 1.864 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/3.366, allocations: 8 kB / 1.864 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/3.366, allocations: 63.88 kB / 1.864 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/3.366, allocations: 40.38 kB / 1.864 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/3.367, allocations: 19.98 kB / 1.864 GB, free: 125.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001125/3.368, allocations: 0.767 MB / 1.864 GB, free: 124.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/3.368, allocations: 0 / 1.864 GB, free: 124.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00276/3.37, allocations: 0.6938 MB / 1.865 GB, free: 124 MB / 0.948 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) * 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.003382/3.374, allocations: 2.38 MB / 1.867 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00207/3.376, allocations: 1.213 MB / 1.869 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/3.376, allocations: 4 kB / 1.869 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/3.376, allocations: 289.4 kB / 1.869 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/3.379, allocations: 0.5054 MB / 1.869 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/3.382, allocations: 2.017 MB / 1.871 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/3.383, allocations: 1.305 MB / 1.873 GB, free: 116.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001749/3.385, allocations: 0.5594 MB / 1.873 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/3.385, allocations: 483.2 kB / 1.874 GB, free: 115.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/3.385, allocations: 0 / 1.874 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/3.449, allocations: 37.19 MB / 1.91 GB, free: 78.28 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/3.449, allocations: 152.8 kB / 1.91 GB, free: 78.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/6.856, allocations: 0 / 1.91 GB, free: 78.09 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)