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.00109/0.00109, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008618/0.008618, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 266.5 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9475/0.9475, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004031, allocations: 17.94 kB / 0.5986 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.0005247/0.1421, allocations: 246.5 kB / 0.6854 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.1422, allocations: 11.97 kB / 0.6854 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.1422, allocations: 7.938 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.1422, allocations: 3.938 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1424, allocations: 2.719 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.465e-06/0.1424, allocations: 0 / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.526e-05/0.1424, allocations: 8 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1425, allocations: 3.984 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.1425, allocations: 0 / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.1425, allocations: 4 kB / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1425, allocations: 0 / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.1426, allocations: 0 / 0.6854 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.1426, allocations: 9.484 kB / 0.6854 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.1426, allocations: 29.64 kB / 0.6854 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.708e-05/0.1426, allocations: 0 / 0.6854 GB, free: 14.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1426, allocations: 4 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1426, allocations: 2.094 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.1427, allocations: 0 / 0.6854 GB, free: 14.73 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.0002117/0.1429, allocations: 307.5 kB / 0.6857 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1429, allocations: 12.09 kB / 0.6857 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.1429, allocations: 0.9375 kB / 0.6857 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.239e-05/0.143, allocations: 165.3 kB / 0.6859 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.143, allocations: 5.031 kB / 0.6859 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.1431, allocations: 384 / 0.6859 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.1432, allocations: 43.48 kB / 0.6859 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1432, allocations: 8.109 kB / 0.686 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1432, allocations: 11.88 kB / 0.686 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.1432, allocations: 0 / 0.686 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.659e-05/0.1432, allocations: 0 / 0.686 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1433, allocations: 155.4 kB / 0.6861 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.1434, allocations: 47.22 kB / 0.6862 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.1434, allocations: 17.7 kB / 0.6862 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1434, allocations: 4.062 kB / 0.6862 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1435, allocations: 32.06 kB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1435, allocations: 0 / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001131/0.1436, allocations: 47.58 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1436, allocations: 85.09 kB / 0.6863 GB, free: 13.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.1437, allocations: 90.48 kB / 0.6864 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1437, allocations: 26.08 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.1438, allocations: 84.14 kB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1438, allocations: 3.906 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.1438, allocations: 17.72 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.1439, allocations: 310.8 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.1439, allocations: 0 / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.767e-05/0.1439, allocations: 21.64 kB / 0.6869 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.144, allocations: 21.78 kB / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.144, allocations: 0 / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.522e-05/0.144, allocations: 37.64 kB / 0.6869 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1441, allocations: 8 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1441, allocations: 3.938 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1441, allocations: 0 / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.1442, allocations: 7.984 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1442, allocations: 0 / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.1442, allocations: 0 / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1442, allocations: 8.062 kB / 0.687 GB, free: 12.93 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.725e-05/0.1443, allocations: 111.2 kB / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.1443, allocations: 0 / 0.6871 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/0.1444, allocations: 52.69 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1444, allocations: 4 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1444, allocations: 0 / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1444, allocations: 0 / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.1445, allocations: 157.6 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1445, allocations: 0 / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.1445, allocations: 4 kB / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1445, allocations: 0 / 0.6873 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1445, allocations: 3.938 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1445, allocations: 3.938 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1445, allocations: 7.875 kB / 0.6873 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.884e-05/0.1446, allocations: 77.97 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1447, allocations: 85.11 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1447, allocations: 3.938 kB / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.1447, allocations: 0 / 0.6874 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1447, allocations: 7.984 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1447, allocations: 0 / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.534e-05/0.1448, allocations: 75.28 kB / 0.6875 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1448, allocations: 0 / 0.6875 GB, free: 12.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.145, allocations: 4 kB / 0.6875 GB, free: 12.24 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.19e-05/0.1451, allocations: 95.38 kB / 0.6876 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.705e-05/0.1451, allocations: 15.94 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1451, allocations: 0 / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.1451, allocations: 4 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1453, allocations: 13.89 kB / 0.6876 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.1455, allocations: 95.81 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.1457, allocations: 0.6731 MB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.66e-05/0.1457, allocations: 4 kB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.1457, allocations: 7.438 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1457, allocations: 0 / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of Templates: time 0.001696/0.1474, allocations: 184.9 kB / 0.6886 GB, free: 11.09 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)