Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001064/0.001064, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 290.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 94.38 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.144, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001535/0.1455, allocations: 0.5127 MB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.1456, allocations: 20.03 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.1457, allocations: 3.938 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.1457, allocations: 0 / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1458, allocations: 3.938 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1458, allocations: 3.938 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.1459, allocations: 8 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.146, allocations: 7.984 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.146, allocations: 8 kB / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.38e-05/0.146, allocations: 0 / 0.6821 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.146, allocations: 3.984 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.1461, allocations: 0 / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1461, allocations: 0 / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.1461, allocations: 3.938 kB / 0.6821 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.633e-05/0.1461, allocations: 4 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1461, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1461, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1462, allocations: 3.938 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002344/0.1464, allocations: 319.6 kB / 0.6825 GB, free: 6.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1464, allocations: 8.031 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.1465, allocations: 4.938 kB / 0.6825 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.1465, allocations: 164.2 kB / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.1466, allocations: 384 / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.1466, allocations: 384 / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.1467, allocations: 47.97 kB / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1467, allocations: 192 / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1467, allocations: 7.938 kB / 0.6827 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1467, allocations: 4 kB / 0.6827 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.098e-05/0.1467, allocations: 7.938 kB / 0.6827 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.1469, allocations: 158.6 kB / 0.6828 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.737e-05/0.1469, allocations: 37.19 kB / 0.6829 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.1469, allocations: 17.66 kB / 0.6829 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.147, allocations: 4 kB / 0.6829 GB, free: 5.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.147, allocations: 34.62 kB / 0.6829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.147, allocations: 0 / 0.6829 GB, free: 5.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001185/0.1471, allocations: 45.56 kB / 0.683 GB, free: 5.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1472, allocations: 81.11 kB / 0.6831 GB, free: 5.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.131e-05/0.1472, allocations: 98.11 kB / 0.6831 GB, free: 5.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1472, allocations: 25.7 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.1473, allocations: 80.14 kB / 0.6833 GB, free: 5.539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.1473, allocations: 3.906 kB / 0.6833 GB, free: 5.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1473, allocations: 13.72 kB / 0.6833 GB, free: 5.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.1474, allocations: 318.8 kB / 0.6836 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.1474, allocations: 0 / 0.6836 GB, free: 5.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.1474, allocations: 17.84 kB / 0.6836 GB, free: 5.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.1475, allocations: 21.66 kB / 0.6836 GB, free: 5.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1475, allocations: 0 / 0.6836 GB, free: 5.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.851e-05/0.1476, allocations: 49.56 kB / 0.6837 GB, free: 5.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/0.1476, allocations: 4 kB / 0.6837 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1476, allocations: 3.938 kB / 0.6837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.1476, allocations: 0 / 0.6837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.1476, allocations: 4.125 kB / 0.6837 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1477, allocations: 4 kB / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.1477, allocations: 0 / 0.6837 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.1477, allocations: 4 kB / 0.6837 GB, free: 5.07 MB / 494.1 MB 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 6.14e-05/0.1478, allocations: 109.8 kB / 0.6838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.1478, allocations: 0 / 0.6838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.1479, allocations: 56.69 kB / 0.6838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1479, allocations: 4.062 kB / 0.6838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1479, allocations: 3.984 kB / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1479, allocations: 0 / 0.6838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.487e-05/0.148, allocations: 153.6 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.148, allocations: 0 / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.148, allocations: 4 kB / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.148, allocations: 0 / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.148, allocations: 7.922 kB / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.148, allocations: 3.938 kB / 0.684 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1481, allocations: 4 kB / 0.684 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.1481, allocations: 69.94 kB / 0.6841 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1482, allocations: 85.08 kB / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1482, allocations: 7.938 kB / 0.6842 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/0.1482, allocations: 4 kB / 0.6842 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1482, allocations: 4 kB / 0.6842 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.1482, allocations: 0 / 0.6842 GB, free: 4.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.777e-05/0.1483, allocations: 83.31 kB / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1483, allocations: 0 / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001781/0.1485, allocations: 0 / 0.6843 GB, free: 4.375 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 8.285e-05/0.1486, allocations: 95.25 kB / 0.6843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.1486, allocations: 11.92 kB / 0.6844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1486, allocations: 4 kB / 0.6844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.096e-05/0.1486, allocations: 8.281 kB / 0.6844 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.1488, allocations: 6.25 kB / 0.6844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.1489, allocations: 93.92 kB / 0.6845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.1491, allocations: 0.6728 MB / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.256e-05/0.1492, allocations: 0 / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.1492, allocations: 11.44 kB / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1492, allocations: 0 / 0.6851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of Templates: time 0.001697/0.1509, allocations: 196.7 kB / 0.6853 GB, free: 3.219 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)