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.001013/0.001013, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00129/0.00129, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001773, allocations: 286.9 kB / 291.4 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 12.44 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 88.54 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001545/0.1346, allocations: 1.265 MB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1359, allocations: 0.842 MB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.136, allocations: 2.312 kB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.136, allocations: 4 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1361, allocations: 23.72 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1364, allocations: 98.58 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1366, allocations: 67.66 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.758e-05/0.1367, allocations: 11.97 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.1367, allocations: 33.5 kB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1369, allocations: 31.86 kB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1369, allocations: 0 / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.1373, allocations: 276.1 kB / 0.6871 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1373, allocations: 12.58 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1373, allocations: 37.69 kB / 0.6871 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1375, allocations: 96.59 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1375, allocations: 0 / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1375, allocations: 2.281 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1375, allocations: 3.938 kB / 0.6872 GB, free: 12.62 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.0004812/0.138, allocations: 399.5 kB / 0.6876 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.138, allocations: 8.688 kB / 0.6876 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1382, allocations: 20.48 kB / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.1383, allocations: 188 kB / 0.6878 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.1384, allocations: 0 / 0.6878 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1384, allocations: 4 kB / 0.6878 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1386, allocations: 69.94 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1386, allocations: 0 / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1386, allocations: 4 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1386, allocations: 3.953 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1388, allocations: 51.91 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1392, allocations: 290.8 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1393, allocations: 61.14 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.1394, allocations: 40.91 kB / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1394, allocations: 0 / 0.6883 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1395, allocations: 34.52 kB / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.1395, allocations: 0 / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003533/0.1398, allocations: 129.5 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1399, allocations: 51.41 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.14, allocations: 127.9 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.14, allocations: 25.7 kB / 0.6887 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1401, allocations: 104 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1401, allocations: 19.81 kB / 0.6888 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1401, allocations: 0 / 0.6888 GB, free: 10.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.1402, allocations: 322.8 kB / 0.6891 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.1403, allocations: 23.98 kB / 0.6891 GB, free: 10.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.1403, allocations: 31.98 kB / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.1404, allocations: 23.98 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1404, allocations: 0 / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002187/0.1407, allocations: 109.5 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1407, allocations: 7.953 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1407, allocations: 0 / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.1407, allocations: 0 / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1408, allocations: 15.98 kB / 0.6893 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1409, allocations: 4 kB / 0.6893 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.1409, allocations: 11.98 kB / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1409, allocations: 0 / 0.6893 GB, free: 10.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.746e-05/0.141, allocations: 114.5 kB / 0.6894 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.1411, allocations: 7.906 kB / 0.6894 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1413, allocations: 118.3 kB / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1413, allocations: 0 / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1414, allocations: 0 / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1414, allocations: 4.062 kB / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.1415, allocations: 177.6 kB / 0.6897 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1416, allocations: 0 / 0.6897 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.303e-05/0.1416, allocations: 19.98 kB / 0.6897 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1417, allocations: 0 / 0.6897 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1417, allocations: 8 kB / 0.6897 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1417, allocations: 3.953 kB / 0.6897 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1417, allocations: 7.922 kB / 0.6897 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.142, allocations: 191.4 kB / 0.6899 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.142, allocations: 88.95 kB / 0.69 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.142, allocations: 7.984 kB / 0.69 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1421, allocations: 4 kB / 0.69 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.1422, allocations: 11.94 kB / 0.69 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1422, allocations: 0 / 0.69 GB, free: 9.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.1422, allocations: 101.6 kB / 0.6901 GB, free: 9.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1422, allocations: 0 / 0.6901 GB, free: 9.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1425, allocations: 20 kB / 0.6902 GB, free: 9.312 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.1427, allocations: 119.2 kB / 0.6903 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1429, allocations: 63.91 kB / 0.6903 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1429, allocations: 0 / 0.6903 GB, free: 9.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.143, allocations: 35.98 kB / 0.6904 GB, free: 9.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1433, allocations: 16.67 kB / 0.6904 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.1437, allocations: 222.3 kB / 0.6906 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1439, allocations: 0.6945 MB / 0.6913 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.144, allocations: 4.188 kB / 0.6913 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.144, allocations: 15.38 kB / 0.6913 GB, free: 8.094 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.144, allocations: 0 / 0.6913 GB, free: 8.094 MB / 494.1 MB Notification: Performance of Templates: time 0.003209/0.1472, allocations: 0.9822 MB / 0.6922 GB, free: 7.121 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)