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.001475/0.001475, allocations: 111.6 kB / 16.37 MB, free: 6.473 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.001403/0.001403, allocations: 194.2 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 281.5 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 94.28 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001643/0.1428, allocations: 0.5243 MB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001489/0.1429, allocations: 47.94 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.143, allocations: 0 / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.143, allocations: 4 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1431, allocations: 0 / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.206e-05/0.1432, allocations: 7.922 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.275e-05/0.1433, allocations: 11.98 kB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1433, allocations: 4 kB / 0.6822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.1433, allocations: 11.94 kB / 0.6822 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.622e-05/0.1434, allocations: 7.984 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1434, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.1435, allocations: 0 / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.353e-05/0.1435, allocations: 4 kB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.1435, allocations: 11.88 kB / 0.6822 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.523e-05/0.1436, allocations: 15.91 kB / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1436, allocations: 0 / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1436, allocations: 0 / 0.6822 GB, free: 6.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1436, allocations: 0 / 0.6822 GB, free: 6.832 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003789/0.144, allocations: 337 kB / 0.6826 GB, free: 6.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.144, allocations: 12.03 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.1441, allocations: 0.9375 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1442, allocations: 172.4 kB / 0.6827 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-06/0.1442, allocations: 384 / 0.6827 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1443, allocations: 4.375 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.147e-05/0.1443, allocations: 34.23 kB / 0.6828 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1443, allocations: 4.188 kB / 0.6828 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1443, allocations: 3.938 kB / 0.6828 GB, free: 6.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.1444, allocations: 4 kB / 0.6828 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.1444, allocations: 3.938 kB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1445, allocations: 153.7 kB / 0.6829 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.1446, allocations: 22.59 kB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.1446, allocations: 8.922 kB / 0.683 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1446, allocations: 0 / 0.683 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1446, allocations: 38.56 kB / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1446, allocations: 0 / 0.683 GB, free: 5.887 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.1447, allocations: 53.47 kB / 0.683 GB, free: 5.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1448, allocations: 55.34 kB / 0.6831 GB, free: 5.762 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.1449, allocations: 113.8 kB / 0.6832 GB, free: 5.641 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.1449, allocations: 25.7 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.1449, allocations: 88.12 kB / 0.6833 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1449, allocations: 0 / 0.6833 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.145, allocations: 17.84 kB / 0.6833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.1451, allocations: 314.8 kB / 0.6836 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.1451, allocations: 7.984 kB / 0.6836 GB, free: 5.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.1451, allocations: 17.66 kB / 0.6837 GB, free: 5.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.1452, allocations: 25.64 kB / 0.6837 GB, free: 5.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1452, allocations: 0 / 0.6837 GB, free: 5.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.54e-05/0.1452, allocations: 53.66 kB / 0.6837 GB, free: 5.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1453, allocations: 4 kB / 0.6837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1453, allocations: 3.938 kB / 0.6837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1453, allocations: 4 kB / 0.6837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.1453, allocations: 0 / 0.6837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1453, allocations: 7.938 kB / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1454, allocations: 0 / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1454, allocations: 0 / 0.6838 GB, free: 5.039 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.039e-05/0.1454, allocations: 118.5 kB / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.1455, allocations: 4 kB / 0.6839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.857e-05/0.1455, allocations: 49.16 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1456, allocations: 0 / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1456, allocations: 0 / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1456, allocations: 0 / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.917e-05/0.1457, allocations: 153.7 kB / 0.6841 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1457, allocations: 4 kB / 0.6841 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.1457, allocations: 0 / 0.6841 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.1457, allocations: 3.984 kB / 0.6841 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1458, allocations: 11.97 kB / 0.6841 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1458, allocations: 3.938 kB / 0.6841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1458, allocations: 0 / 0.6841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.939e-05/0.1459, allocations: 77.03 kB / 0.6842 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.1459, allocations: 85.12 kB / 0.6842 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1459, allocations: 3.938 kB / 0.6842 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.146, allocations: 0 / 0.6842 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.146, allocations: 4.094 kB / 0.6842 GB, free: 4.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.146, allocations: 4.25 kB / 0.6843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.146, allocations: 91.27 kB / 0.6843 GB, free: 4.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.146, allocations: 4 kB / 0.6843 GB, free: 4.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001726/0.1462, allocations: 0 / 0.6843 GB, free: 4.332 MB / 494.1 MB 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 8.027e-05/0.1463, allocations: 95.25 kB / 0.6844 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.1464, allocations: 23.86 kB / 0.6845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.1464, allocations: 128 / 0.6845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.1464, allocations: 15.94 kB / 0.6845 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.1465, allocations: 2.344 kB / 0.6845 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.1468, allocations: 121.5 kB / 0.6846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.147, allocations: 0.6807 MB / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.147, allocations: 0 / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.147, allocations: 7.438 kB / 0.6853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.147, allocations: 0 / 0.6853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of Templates: time 0.0018/0.1489, allocations: 328.6 kB / 0.6856 GB, free: 3.012 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)