Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007817/0.007817, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001759/0.001759, allocations: 270.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 15.48 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001473/0.1406, allocations: 1.284 MB / 0.6864 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1419, allocations: 0.9129 MB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.1419, allocations: 0 / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.142, allocations: 3.938 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.1421, allocations: 21.06 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1424, allocations: 107.4 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1425, allocations: 71.66 kB / 0.6875 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.1426, allocations: 18.19 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.1427, allocations: 27.92 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1428, allocations: 35.83 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1428, allocations: 0 / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1432, allocations: 276.2 kB / 0.6878 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1432, allocations: 11.92 kB / 0.6878 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.1433, allocations: 54.16 kB / 0.6879 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1435, allocations: 159.5 kB / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1435, allocations: 0 / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1435, allocations: 0 / 0.688 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1435, allocations: 0 / 0.688 GB, free: 12.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.144, allocations: 397.1 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.144, allocations: 8.031 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1441, allocations: 17.56 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1443, allocations: 198.7 kB / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1443, allocations: 384 / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1443, allocations: 5.656 kB / 0.6886 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1445, allocations: 70.62 kB / 0.6887 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.1445, allocations: 0.7188 kB / 0.6887 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1445, allocations: 4 kB / 0.6887 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1445, allocations: 0.625 kB / 0.6887 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1447, allocations: 49.94 kB / 0.6887 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.1451, allocations: 304.7 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1453, allocations: 54.55 kB / 0.6891 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.1453, allocations: 40.97 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1454, allocations: 0 / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1454, allocations: 30.56 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1454, allocations: 0 / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003584/0.1458, allocations: 125.5 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1458, allocations: 55.39 kB / 0.6893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.1459, allocations: 133.8 kB / 0.6895 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1459, allocations: 25.7 kB / 0.6895 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.146, allocations: 92.12 kB / 0.6896 GB, free: 10.33 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.146, allocations: 19.75 kB / 0.6896 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.146, allocations: 13.7 kB / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.1461, allocations: 326.8 kB / 0.6899 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.1462, allocations: 27.98 kB / 0.6899 GB, free: 9.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.1463, allocations: 23.98 kB / 0.69 GB, free: 9.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.1464, allocations: 64.83 kB / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1465, allocations: 0 / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.1467, allocations: 101.5 kB / 0.6901 GB, free: 9.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1467, allocations: 6.344 kB / 0.6901 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1467, allocations: 0 / 0.6901 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1467, allocations: 0 / 0.6901 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1468, allocations: 19.98 kB / 0.6901 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1469, allocations: 4 kB / 0.6901 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.1469, allocations: 11.91 kB / 0.6902 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1469, allocations: 3.984 kB / 0.6902 GB, free: 9.695 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.004e-05/0.147, allocations: 119.1 kB / 0.6903 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.1471, allocations: 7.906 kB / 0.6903 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1473, allocations: 110.3 kB / 0.6904 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1473, allocations: 4 kB / 0.6904 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1473, allocations: 4.062 kB / 0.6904 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1473, allocations: 3.938 kB / 0.6904 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1475, allocations: 185.6 kB / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1475, allocations: 0 / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.1476, allocations: 19.98 kB / 0.6906 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1476, allocations: 4 kB / 0.6906 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1476, allocations: 4 kB / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1476, allocations: 0 / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1477, allocations: 0 / 0.6906 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.1479, allocations: 199.3 kB / 0.6908 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.148, allocations: 92.95 kB / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.148, allocations: 0 / 0.6909 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.1481, allocations: 7.984 kB / 0.6909 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.1481, allocations: 4 kB / 0.6909 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1481, allocations: 3.938 kB / 0.6909 GB, free: 8.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.312e-05/0.1482, allocations: 103.2 kB / 0.691 GB, free: 8.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1482, allocations: 8 kB / 0.691 GB, free: 8.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1484, allocations: 20 kB / 0.691 GB, free: 8.711 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001441/0.1486, allocations: 111.2 kB / 0.6911 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1488, allocations: 67.83 kB / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1488, allocations: 0 / 0.6912 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.823e-05/0.1489, allocations: 35.98 kB / 0.6912 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1492, allocations: 12.75 kB / 0.6912 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.1496, allocations: 222.4 kB / 0.6914 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1498, allocations: 0.6887 MB / 0.6921 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.616e-05/0.1498, allocations: 4 kB / 0.6921 GB, free: 7.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1499, allocations: 23.42 kB / 0.6921 GB, free: 7.496 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1499, allocations: 0 / 0.6921 GB, free: 7.496 MB / 494.1 MB Notification: Performance of Templates: time 0.0032/0.1531, allocations: 1.009 MB / 0.6931 GB, free: 6.5 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)