Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",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.762/1.762, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001672/0.001672, allocations: 184.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.71/1.71, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.00098/0.0009801, allocations: 90.31 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.13e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7306, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.772, allocations: 404.5 MB / 1.368 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.772, allocations: 93.95 kB / 1.368 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.528/4.301, allocations: 0.6826 GB / 2.051 GB, free: 192.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.296e-06/4.301, allocations: 0 / 2.051 GB, free: 192.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002562/4.301, allocations: 45.83 kB / 2.051 GB, free: 192.6 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005182/4.306, allocations: 1.855 MB / 2.053 GB, free: 191.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/4.306, allocations: 9.344 kB / 2.053 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/4.308, allocations: 285.6 kB / 2.053 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/4.314, allocations: 2.51 MB / 2.056 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/4.314, allocations: 29.38 kB / 2.056 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/4.314, allocations: 67.44 kB / 2.056 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/4.316, allocations: 0.8457 MB / 2.057 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/4.317, allocations: 1.07 MB / 2.058 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/4.317, allocations: 2.625 kB / 2.058 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/4.317, allocations: 3.938 kB / 2.058 GB, free: 191.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/4.317, allocations: 21.56 kB / 2.058 GB, free: 191.1 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.006756/4.324, allocations: 6.421 MB / 2.064 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/4.325, allocations: 0.58 MB / 2.064 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/4.325, allocations: 364.3 kB / 2.065 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002546/4.328, allocations: 1.575 MB / 2.066 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/4.328, allocations: 323.7 kB / 2.067 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006448/4.329, allocations: 111.2 kB / 2.067 GB, free: 186.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.815e-06/4.329, allocations: 0 / 2.067 GB, free: 186.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001667/4.331, allocations: 0.8078 MB / 2.068 GB, free: 186.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/4.331, allocations: 60.28 kB / 2.068 GB, free: 186.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/4.332, allocations: 1.363 MB / 2.069 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/4.332, allocations: 33.27 kB / 2.069 GB, free: 186.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/4.333, allocations: 0.8482 MB / 2.07 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/4.333, allocations: 155.3 kB / 2.07 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/4.333, allocations: 2.969 kB / 2.07 GB, free: 185.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.333, allocations: 337 kB / 2.07 GB, free: 185.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/4.334, allocations: 250.3 kB / 2.071 GB, free: 185.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/4.334, allocations: 0.686 MB / 2.071 GB, free: 184.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/4.335, allocations: 406.7 kB / 2.072 GB, free: 184.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/4.335, allocations: 3.062 kB / 2.072 GB, free: 184.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002044/4.337, allocations: 1.12 MB / 2.073 GB, free: 184.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001321/4.338, allocations: 4.102 MB / 2.077 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/4.338, allocations: 11.19 kB / 2.077 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/4.339, allocations: 115.5 kB / 2.077 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/4.34, allocations: 179.5 kB / 2.077 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/4.34, allocations: 0.7844 MB / 2.078 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/4.342, allocations: 79.05 kB / 2.078 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/4.342, allocations: 55.44 kB / 2.078 GB, free: 179.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/4.342, allocations: 7.734 kB / 2.078 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001944/4.344, allocations: 0.9203 MB / 2.079 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/4.344, allocations: 11.31 kB / 2.079 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/4.344, allocations: 119.1 kB / 2.079 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/4.345, allocations: 163.3 kB / 2.079 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/4.346, allocations: 2.035 MB / 2.081 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/4.348, allocations: 76.72 kB / 2.081 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/4.348, allocations: 40.94 kB / 2.081 GB, free: 178.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.000242/4.348, allocations: 141.4 kB / 2.081 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001459/4.349, allocations: 0.7532 MB / 2.082 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/4.35, allocations: 158.2 kB / 2.082 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/4.351, allocations: 0.9115 MB / 2.083 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/4.351, allocations: 9.219 kB / 2.083 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/4.351, allocations: 0 / 2.083 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/4.353, allocations: 0.8722 MB / 2.084 GB, free: 177.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/4.356, allocations: 1.965 MB / 2.086 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/4.356, allocations: 0 / 2.086 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/4.356, allocations: 88.41 kB / 2.086 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/4.357, allocations: 103 kB / 2.086 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/4.357, allocations: 7.516 kB / 2.086 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/4.357, allocations: 0.7384 MB / 2.087 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/4.357, allocations: 2.719 kB / 2.087 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/4.359, allocations: 1.29 MB / 2.088 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/4.36, allocations: 305.4 kB / 2.088 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/4.36, allocations: 10.14 kB / 2.088 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007176/4.361, allocations: 72.44 kB / 2.088 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/4.361, allocations: 43.94 kB / 2.088 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/4.361, allocations: 19.98 kB / 2.088 GB, free: 176.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00135/4.362, allocations: 1.043 MB / 2.089 GB, free: 176.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/4.362, allocations: 0 / 2.089 GB, free: 176.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002926/4.365, allocations: 0.8427 MB / 2.09 GB, free: 175.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003261/4.368, allocations: 2.559 MB / 2.093 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002151/4.371, allocations: 1.362 MB / 2.094 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/4.371, allocations: 2.156 kB / 2.094 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/4.371, allocations: 287.4 kB / 2.094 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/4.374, allocations: 0.6311 MB / 2.095 GB, free: 174.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/4.38, allocations: 2.659 MB / 2.098 GB, free: 173.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009236/4.381, allocations: 1.531 MB / 2.099 GB, free: 173.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002642/4.383, allocations: 0.7948 MB / 2.1 GB, free: 173.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/4.384, allocations: 0.6304 MB / 2.1 GB, free: 173.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/4.384, allocations: 2.531 kB / 2.1 GB, free: 173.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08272/4.467, allocations: 45.27 MB / 2.145 GB, free: 171.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/4.467, allocations: 170.2 kB / 2.145 GB, free: 171.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.683/8.15, allocations: 8 kB / 2.145 GB, free: 171 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)