Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001027/0.001027, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00231/0.002309, allocations: 286.2 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9138/0.9138, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 89.17 kB / 0.5947 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1356, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003019/0.1387, allocations: 2.136 MB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1402, allocations: 1.154 MB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.1403, allocations: 4 kB / 0.6829 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1406, allocations: 104.6 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.1407, allocations: 37.78 kB / 0.683 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.1413, allocations: 225.1 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1416, allocations: 335.1 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1418, allocations: 95.03 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.1419, allocations: 103.7 kB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.142, allocations: 131.4 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.1421, allocations: 28 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1424, allocations: 227.7 kB / 0.6841 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1425, allocations: 91.67 kB / 0.6842 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1426, allocations: 163.1 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.1431, allocations: 0.5336 MB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1432, allocations: 0 / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1432, allocations: 0 / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1432, allocations: 0 / 0.6848 GB, free: 11.74 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009881/0.1442, allocations: 0.8126 MB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.1442, allocations: 16.03 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.1443, allocations: 36.47 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1446, allocations: 320.4 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1447, allocations: 12.66 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.1447, allocations: 16.38 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.1453, allocations: 295.2 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1453, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1453, allocations: 12 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1453, allocations: 0 / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.146, allocations: 280 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.1469, allocations: 0.6679 MB / 0.6872 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1474, allocations: 230.6 kB / 0.6875 GB, free: 8.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.1478, allocations: 188.7 kB / 0.6876 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1478, allocations: 4 kB / 0.6876 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1478, allocations: 34.56 kB / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1478, allocations: 0 / 0.6877 GB, free: 8.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001242/0.1491, allocations: 0.6802 MB / 0.6883 GB, free: 7.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.1491, allocations: 136.5 kB / 0.6885 GB, free: 7.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.1495, allocations: 376.5 kB / 0.6888 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1495, allocations: 29.7 kB / 0.6889 GB, free: 7.367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1496, allocations: 168.3 kB / 0.689 GB, free: 7.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1497, allocations: 43.34 kB / 0.6891 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.1498, allocations: 49.7 kB / 0.6891 GB, free: 7.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1499, allocations: 342.8 kB / 0.6894 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.1503, allocations: 239.8 kB / 0.6897 GB, free: 6.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.1507, allocations: 236 kB / 0.6899 GB, free: 6.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.1516, allocations: 0.6857 MB / 0.6906 GB, free: 5.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1516, allocations: 4 kB / 0.6906 GB, free: 5.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009967/0.1526, allocations: 0.7311 MB / 0.6913 GB, free: 4.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.1528, allocations: 186.2 kB / 0.6914 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1528, allocations: 0 / 0.6914 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1528, allocations: 0 / 0.6914 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.153, allocations: 27.97 kB / 0.6915 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.153, allocations: 7.984 kB / 0.6915 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1532, allocations: 39.75 kB / 0.6915 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1532, allocations: 11.94 kB / 0.6915 GB, free: 4.469 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: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001952/0.1534, allocations: 271.4 kB / 0.6918 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.1535, allocations: 31.61 kB / 0.6918 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.1535, allocations: 30.94 kB / 0.6918 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1535, allocations: 0 / 0.6918 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1535, allocations: 0 / 0.6918 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1535, allocations: 0 / 0.6918 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.1538, allocations: 349.2 kB / 0.6922 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1539, allocations: 0 / 0.6922 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.154, allocations: 27.97 kB / 0.6922 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.154, allocations: 4 kB / 0.6922 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.1541, allocations: 8 kB / 0.6922 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1541, allocations: 0 / 0.6922 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1541, allocations: 0 / 0.6922 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.1549, allocations: 0.621 MB / 0.6928 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.155, allocations: 112.7 kB / 0.6929 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1551, allocations: 8 kB / 0.6929 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1553, allocations: 23.97 kB / 0.693 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1554, allocations: 35.95 kB / 0.693 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.1554, allocations: 4 kB / 0.693 GB, free: 2.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1557, allocations: 275 kB / 0.6933 GB, free: 2.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1557, allocations: 4 kB / 0.6933 GB, free: 2.555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1561, allocations: 99.91 kB / 0.6934 GB, free: 2.457 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0002721/0.1564, allocations: 159.2 kB / 0.6935 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1574, allocations: 0.8438 MB / 0.6943 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1574, allocations: 0 / 0.6943 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.1579, allocations: 374 kB / 0.6947 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.1583, allocations: 81.27 kB / 0.6948 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.1593, allocations: 0.7218 MB / 0.6955 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1596, allocations: 0.7831 MB / 0.6962 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.834e-05/0.1597, allocations: 25.94 kB / 0.6963 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1598, allocations: 19.44 kB / 0.6963 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1598, allocations: 0 / 0.6963 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.009441/0.1692, allocations: 5.678 MB / 0.7018 GB, free: 9.715 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)