Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009405/0.0009407, allocations: 172.8 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 86.52 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.324e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1828, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.555/5.738, allocations: 2.224 GB / 3.116 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/5.739, allocations: 84.58 kB / 3.116 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.924/10.66, allocations: 1.404 GB / 4.519 GB, free: 46.98 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.583e-06/10.66, allocations: 0 / 4.519 GB, free: 46.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001116/10.66, allocations: 43.92 kB / 4.519 GB, free: 46.94 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004513/10.67, allocations: 1.899 MB / 4.521 GB, free: 44.99 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/10.67, allocations: 8.031 kB / 4.521 GB, free: 44.98 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001819/10.67, allocations: 156.2 kB / 4.521 GB, free: 44.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/10.67, allocations: 493.6 kB / 4.522 GB, free: 44.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/10.67, allocations: 1.223 MB / 4.523 GB, free: 43.06 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008352/10.67, allocations: 289.7 kB / 4.523 GB, free: 42.78 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/10.67, allocations: 96 kB / 4.523 GB, free: 42.68 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/10.68, allocations: 1.196 MB / 4.525 GB, free: 41.39 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/10.68, allocations: 7.938 kB / 4.525 GB, free: 41.38 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/10.68, allocations: 47.98 kB / 4.525 GB, free: 41.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/10.68, allocations: 38 kB / 4.525 GB, free: 41.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/10.68, allocations: 0.8276 MB / 4.526 GB, free: 40.47 MB / 0.9011 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.006532/10.68, allocations: 6.714 MB / 4.532 GB, free: 33.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/10.68, allocations: 427.7 kB / 4.533 GB, free: 32.87 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/10.69, allocations: 201.2 kB / 4.533 GB, free: 32.67 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/10.69, allocations: 283.6 kB / 4.533 GB, free: 32.34 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/10.69, allocations: 38.84 kB / 4.533 GB, free: 32.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/10.69, allocations: 0 / 4.533 GB, free: 32.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001179/10.69, allocations: 0.5057 MB / 4.534 GB, free: 31.78 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/10.69, allocations: 55.41 kB / 4.534 GB, free: 31.71 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/10.69, allocations: 1.142 MB / 4.535 GB, free: 30.56 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/10.69, allocations: 33.7 kB / 4.535 GB, free: 30.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/10.69, allocations: 0.6795 MB / 4.535 GB, free: 29.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/10.69, allocations: 118.3 kB / 4.535 GB, free: 29.72 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/10.69, allocations: 16 kB / 4.536 GB, free: 29.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/10.69, allocations: 334 kB / 4.536 GB, free: 29.37 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/10.69, allocations: 197.5 kB / 4.536 GB, free: 29.18 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/10.69, allocations: 0.5584 MB / 4.537 GB, free: 28.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/10.69, allocations: 285.8 kB / 4.537 GB, free: 28.18 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/10.69, allocations: 8 kB / 4.537 GB, free: 28.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001138/10.69, allocations: 0.8111 MB / 4.538 GB, free: 27.35 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001251/10.69, allocations: 3.81 MB / 4.541 GB, free: 23.31 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/10.69, allocations: 8 kB / 4.541 GB, free: 23.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/10.69, allocations: 19.94 kB / 4.541 GB, free: 23.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/10.69, allocations: 215.7 kB / 4.542 GB, free: 23.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/10.69, allocations: 19.92 kB / 4.542 GB, free: 23.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/10.7, allocations: 234.7 kB / 4.542 GB, free: 22.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/10.7, allocations: 51.88 kB / 4.542 GB, free: 22.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/10.7, allocations: 4 kB / 4.542 GB, free: 22.77 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/10.7, allocations: 0.6632 MB / 4.543 GB, free: 22.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/10.7, allocations: 8 kB / 4.543 GB, free: 22.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/10.7, allocations: 16 kB / 4.543 GB, free: 22.08 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/10.7, allocations: 212.3 kB / 4.543 GB, free: 21.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/10.7, allocations: 15.94 kB / 4.543 GB, free: 21.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/10.7, allocations: 207 kB / 4.543 GB, free: 21.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/10.7, allocations: 43.98 kB / 4.543 GB, free: 21.61 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/10.7, allocations: 148.7 kB / 4.543 GB, free: 21.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/10.7, allocations: 138.3 kB / 4.543 GB, free: 21.32 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/10.7, allocations: 0.5158 MB / 4.544 GB, free: 20.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/10.7, allocations: 4 kB / 4.544 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.7, allocations: 0 / 4.544 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/10.7, allocations: 3.984 kB / 4.544 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/10.7, allocations: 1.76 MB / 4.546 GB, free: 18.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/10.7, allocations: 8.062 kB / 4.546 GB, free: 18.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/10.7, allocations: 103.9 kB / 4.546 GB, free: 18.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/10.7, allocations: 4 kB / 4.546 GB, free: 18.81 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/10.7, allocations: 15.98 kB / 4.546 GB, free: 18.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/10.7, allocations: 11.89 kB / 4.546 GB, free: 18.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/10.7, allocations: 4 kB / 4.546 GB, free: 18.78 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007885/10.7, allocations: 0.8879 MB / 4.547 GB, free: 17.72 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/10.7, allocations: 291.2 kB / 4.547 GB, free: 17.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/10.71, allocations: 8 kB / 4.547 GB, free: 17.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009269/10.71, allocations: 115.9 kB / 4.547 GB, free: 17.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/10.71, allocations: 36.05 kB / 4.547 GB, free: 17.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/10.71, allocations: 23.97 kB / 4.547 GB, free: 17.24 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001032/10.71, allocations: 0.8837 MB / 4.548 GB, free: 16.36 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/10.71, allocations: 0 / 4.548 GB, free: 16.36 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003046/10.71, allocations: 0.8701 MB / 4.549 GB, free: 15.48 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005756/10.72, allocations: 5.461 MB / 4.554 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001543/10.72, allocations: 0.8746 MB / 4.555 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/10.72, allocations: 4 kB / 4.555 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/10.72, allocations: 190 kB / 4.555 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/10.72, allocations: 0.6192 MB / 4.556 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005379/10.73, allocations: 1.964 MB / 4.558 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/10.73, allocations: 1.207 MB / 4.559 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001895/10.73, allocations: 482.4 kB / 4.559 GB, free: 4.094 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/10.73, allocations: 459.3 kB / 4.56 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of SimCode: time 1.402e-06/10.73, allocations: 0 / 4.56 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7532/11.48, allocations: 85.42 MB / 4.643 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/11.48, allocations: 186.5 kB / 4.643 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.01/16.49, allocations: 6.344 kB / 4.643 GB, free: 116.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)