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.001053/0.001053, allocations: 107.7 kB / 16.37 MB, free: 6.477 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.001068/0.001068, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 280.7 kB / 291.4 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.8924/0.8924, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 88.42 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1441, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001596/0.1457, allocations: 0.5203 MB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001044/0.1458, allocations: 20.02 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.1458, allocations: 4 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.1459, allocations: 0 / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.146, allocations: 0 / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.146, allocations: 0 / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.146, allocations: 15.94 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.1461, allocations: 8 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.1461, allocations: 3.984 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.1462, allocations: 3.938 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1462, allocations: 0 / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.1462, allocations: 0 / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.1462, allocations: 4 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1462, allocations: 7.984 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.617e-05/0.1463, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1463, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1463, allocations: 0 / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1463, allocations: 0 / 0.6822 GB, free: 6.891 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.0002417/0.1465, allocations: 311.6 kB / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1466, allocations: 15.97 kB / 0.6825 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.1466, allocations: 4.938 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/0.1467, allocations: 164.2 kB / 0.6826 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1467, allocations: 4.375 kB / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.1467, allocations: 384 / 0.6827 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.571e-05/0.1468, allocations: 47.91 kB / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.1468, allocations: 192 / 0.6827 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.1468, allocations: 7.938 kB / 0.6827 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1469, allocations: 0 / 0.6827 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.1469, allocations: 0 / 0.6827 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.147, allocations: 162.5 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.1471, allocations: 45.2 kB / 0.6829 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.1471, allocations: 9.719 kB / 0.6829 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1471, allocations: 4.062 kB / 0.6829 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1471, allocations: 30.56 kB / 0.6829 GB, free: 5.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.1471, allocations: 4 kB / 0.6829 GB, free: 5.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.1473, allocations: 49.56 kB / 0.683 GB, free: 5.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1473, allocations: 85.05 kB / 0.6831 GB, free: 5.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.1474, allocations: 89.86 kB / 0.6832 GB, free: 5.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1474, allocations: 25.7 kB / 0.6832 GB, free: 5.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.1474, allocations: 80.14 kB / 0.6833 GB, free: 5.547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1474, allocations: 8.281 kB / 0.6833 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1475, allocations: 17.72 kB / 0.6833 GB, free: 5.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.1475, allocations: 310.8 kB / 0.6836 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.1476, allocations: 7.984 kB / 0.6836 GB, free: 5.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.1476, allocations: 13.72 kB / 0.6836 GB, free: 5.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.1476, allocations: 17.72 kB / 0.6836 GB, free: 5.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1476, allocations: 4.062 kB / 0.6836 GB, free: 5.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.584e-05/0.1477, allocations: 41.64 kB / 0.6837 GB, free: 5.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1477, allocations: 7.984 kB / 0.6837 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1477, allocations: 3.938 kB / 0.6837 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1477, allocations: 4 kB / 0.6837 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.1478, allocations: 0 / 0.6837 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1478, allocations: 4 kB / 0.6837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.1478, allocations: 0 / 0.6837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1478, allocations: 4 kB / 0.6837 GB, free: 5.078 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 5.95e-05/0.1479, allocations: 117.8 kB / 0.6838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.1479, allocations: 4 kB / 0.6838 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.148, allocations: 48.75 kB / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.148, allocations: 0 / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.148, allocations: 3.938 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.148, allocations: 4 kB / 0.6839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.328e-05/0.1481, allocations: 153.6 kB / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1481, allocations: 64 / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.1481, allocations: 8 kB / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1481, allocations: 0 / 0.684 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1482, allocations: 7.938 kB / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1482, allocations: 0 / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1482, allocations: 0 / 0.684 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.412e-05/0.1482, allocations: 65.98 kB / 0.6841 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1483, allocations: 81.14 kB / 0.6842 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1483, allocations: 11.92 kB / 0.6842 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.1483, allocations: 3.938 kB / 0.6842 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1483, allocations: 3.938 kB / 0.6842 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1484, allocations: 4 kB / 0.6842 GB, free: 4.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.656e-05/0.1484, allocations: 75.28 kB / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1484, allocations: 0 / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.1486, allocations: 0 / 0.6843 GB, free: 4.391 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.235e-05/0.1487, allocations: 107.3 kB / 0.6844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.686e-05/0.1487, allocations: 11.98 kB / 0.6844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1487, allocations: 0 / 0.6844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.1488, allocations: 7.938 kB / 0.6844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.1489, allocations: 0 / 0.6844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.1491, allocations: 89.94 kB / 0.6845 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.1493, allocations: 0.677 MB / 0.6851 GB, free: 3.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.36e-05/0.1493, allocations: 4 kB / 0.6851 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1493, allocations: 7.438 kB / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1493, allocations: 0 / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of Templates: time 0.001673/0.151, allocations: 192.8 kB / 0.6853 GB, free: 3.234 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)