Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 105.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 183 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 289.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9564/0.9564, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4839, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001572/0.4855, allocations: 0.5347 MB / 0.7675 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001855/0.4857, allocations: 27.89 kB / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.4857, allocations: 4 kB / 0.7676 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.4858, allocations: 3.938 kB / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.486, allocations: 7.984 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.576e-05/0.486, allocations: 11.92 kB / 0.7676 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.285e-05/0.4861, allocations: 8 kB / 0.7676 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.4862, allocations: 3.984 kB / 0.7676 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.4862, allocations: 7.938 kB / 0.7676 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.4863, allocations: 11.98 kB / 0.7676 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4863, allocations: 0 / 0.7676 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.4863, allocations: 0 / 0.7676 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.4864, allocations: 11.94 kB / 0.7676 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.4864, allocations: 3.984 kB / 0.7676 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.4865, allocations: 11.92 kB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4865, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4865, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.4865, allocations: 4 kB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004492/0.487, allocations: 331.1 kB / 0.768 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.487, allocations: 16.03 kB / 0.768 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.4871, allocations: 4.875 kB / 0.768 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.4873, allocations: 172.3 kB / 0.7682 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.4873, allocations: 384 / 0.7682 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4873, allocations: 4.375 kB / 0.7682 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.4874, allocations: 38.25 kB / 0.7682 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4874, allocations: 4.188 kB / 0.7682 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4874, allocations: 3.938 kB / 0.7682 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4874, allocations: 0 / 0.7682 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.4875, allocations: 7.938 kB / 0.7682 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.4876, allocations: 153.7 kB / 0.7684 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.4877, allocations: 22.55 kB / 0.7684 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.4877, allocations: 12.91 kB / 0.7684 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.4877, allocations: 0 / 0.7684 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4878, allocations: 30.56 kB / 0.7684 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 3.156e-06/0.4878, allocations: 4 kB / 0.7684 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.4879, allocations: 49.56 kB / 0.7685 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4879, allocations: 55.34 kB / 0.7685 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.488, allocations: 113.8 kB / 0.7686 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4881, allocations: 25.7 kB / 0.7687 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4881, allocations: 80.14 kB / 0.7687 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.4881, allocations: 7.891 kB / 0.7687 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.4882, allocations: 17.72 kB / 0.7688 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.4883, allocations: 315 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.4883, allocations: 4 kB / 0.7691 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.4883, allocations: 17.7 kB / 0.7691 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.4884, allocations: 21.72 kB / 0.7691 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4884, allocations: 0 / 0.7691 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.285e-05/0.4884, allocations: 49.72 kB / 0.7692 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.4885, allocations: 4 kB / 0.7692 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4885, allocations: 3.938 kB / 0.7692 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.4885, allocations: 7.984 kB / 0.7692 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.4886, allocations: 0 / 0.7692 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4886, allocations: 4 kB / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.4886, allocations: 4 kB / 0.7692 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.4886, allocations: 0 / 0.7692 GB, free: 1.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.4887, allocations: 112.2 kB / 0.7693 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.4887, allocations: 7.969 kB / 0.7693 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4888, allocations: 57.14 kB / 0.7693 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4888, allocations: 0 / 0.7693 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4888, allocations: 0 / 0.7693 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4888, allocations: 0 / 0.7693 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.489, allocations: 161.7 kB / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.489, allocations: 0 / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.489, allocations: 0 / 0.7695 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.489, allocations: 4 kB / 0.7695 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.489, allocations: 3.938 kB / 0.7695 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.489, allocations: 4.281 kB / 0.7695 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4891, allocations: 3.984 kB / 0.7695 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4892, allocations: 80.97 kB / 0.7696 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.4892, allocations: 85.12 kB / 0.7697 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.4893, allocations: 7.875 kB / 0.7697 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.12e-05/0.4893, allocations: 3.938 kB / 0.7697 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.4893, allocations: 4 kB / 0.7697 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.4893, allocations: 4.094 kB / 0.7697 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.4894, allocations: 91.27 kB / 0.7698 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4894, allocations: 0 / 0.7698 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001831/0.4896, allocations: 4 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.4897, allocations: 95.25 kB / 0.7699 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.4897, allocations: 15.92 kB / 0.7699 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4898, allocations: 0 / 0.7699 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.4898, allocations: 8.125 kB / 0.7699 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.4899, allocations: 13.33 kB / 0.7699 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.4902, allocations: 139.2 kB / 0.77 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.4905, allocations: 0.6807 MB / 0.7707 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.4905, allocations: 7.438 kB / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.4905, allocations: 0 / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of Templates: time 0.001744/0.4923, allocations: 0.5095 MB / 0.7712 GB, free: 15.23 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)