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.001089/0.001089, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001149/0.001148, allocations: 191.8 kB / 16.14 MB, free: 6.715 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 299.3 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9953/0.9953, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 86 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 86.99 MB / 0.6795 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002981/0.133, allocations: 2.121 MB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1347, allocations: 1.222 MB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1348, allocations: 4 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1351, allocations: 99.75 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.1352, allocations: 39.72 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1358, allocations: 209.9 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.136, allocations: 263.3 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1362, allocations: 91.05 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.1363, allocations: 95.62 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1364, allocations: 115.5 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1365, allocations: 12 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1368, allocations: 203.7 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.1369, allocations: 87.67 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.137, allocations: 135.2 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1375, allocations: 0.5219 MB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1375, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1375, allocations: 4 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1375, allocations: 0 / 0.6845 GB, free: 11.95 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.001063/0.1386, allocations: 0.8064 MB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1386, allocations: 12.02 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.1387, allocations: 36.47 kB / 0.6854 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1391, allocations: 328.4 kB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1391, allocations: 12.66 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.1391, allocations: 20.36 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.1397, allocations: 291.2 kB / 0.686 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1397, allocations: 3.938 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1398, allocations: 8 kB / 0.686 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.1398, allocations: 4 kB / 0.686 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.1404, allocations: 276.1 kB / 0.6863 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.1414, allocations: 0.6679 MB / 0.6869 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.1419, allocations: 238.5 kB / 0.6871 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1423, allocations: 192.8 kB / 0.6873 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1423, allocations: 3.984 kB / 0.6873 GB, free: 8.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.1424, allocations: 30.56 kB / 0.6874 GB, free: 8.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.654e-06/0.1424, allocations: 4 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0013/0.1437, allocations: 0.6701 MB / 0.688 GB, free: 8.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.1437, allocations: 140.5 kB / 0.6882 GB, free: 7.988 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.1441, allocations: 380.5 kB / 0.6885 GB, free: 7.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1442, allocations: 25.7 kB / 0.6885 GB, free: 7.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1443, allocations: 168.3 kB / 0.6887 GB, free: 7.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1443, allocations: 43.36 kB / 0.6887 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.1444, allocations: 45.7 kB / 0.6888 GB, free: 7.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1446, allocations: 342.8 kB / 0.6891 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.145, allocations: 247.8 kB / 0.6893 GB, free: 6.727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.1454, allocations: 238.6 kB / 0.6896 GB, free: 6.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.1463, allocations: 0.6854 MB / 0.6902 GB, free: 5.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1463, allocations: 0 / 0.6902 GB, free: 5.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001051/0.1474, allocations: 0.7312 MB / 0.691 GB, free: 4.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.1475, allocations: 186.2 kB / 0.6911 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1475, allocations: 0 / 0.6911 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1476, allocations: 0 / 0.6911 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.1477, allocations: 31.97 kB / 0.6912 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1477, allocations: 0 / 0.6912 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.148, allocations: 43.75 kB / 0.6912 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.148, allocations: 12 kB / 0.6912 GB, free: 4.676 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.0002141/0.1482, allocations: 263.4 kB / 0.6915 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1483, allocations: 35.56 kB / 0.6915 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1483, allocations: 30.94 kB / 0.6915 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1483, allocations: 4 kB / 0.6915 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1483, allocations: 0 / 0.6915 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1483, allocations: 0 / 0.6915 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.1487, allocations: 345.2 kB / 0.6919 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1487, allocations: 0 / 0.6919 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1488, allocations: 27.97 kB / 0.6919 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1489, allocations: 4 kB / 0.6919 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1489, allocations: 8 kB / 0.6919 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1489, allocations: 4 kB / 0.6919 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1489, allocations: 0 / 0.6919 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.1498, allocations: 0.6133 MB / 0.6925 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1499, allocations: 116.7 kB / 0.6926 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.15, allocations: 8 kB / 0.6926 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1502, allocations: 27.95 kB / 0.6927 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1503, allocations: 27.95 kB / 0.6927 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1503, allocations: 8 kB / 0.6927 GB, free: 3.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.1506, allocations: 271 kB / 0.6929 GB, free: 2.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1506, allocations: 0 / 0.6929 GB, free: 2.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.151, allocations: 107.9 kB / 0.693 GB, free: 2.668 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.0002645/0.1513, allocations: 163.2 kB / 0.6932 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.1524, allocations: 0.8359 MB / 0.694 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1524, allocations: 0 / 0.694 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.1529, allocations: 386.1 kB / 0.6944 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.1533, allocations: 67.81 kB / 0.6945 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009477/0.1543, allocations: 0.7218 MB / 0.6952 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1546, allocations: 0.7831 MB / 0.6959 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.94e-05/0.1547, allocations: 21.95 kB / 0.6959 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.1548, allocations: 19.44 kB / 0.696 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.1548, allocations: 0 / 0.696 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.008889/0.1637, allocations: 5.461 MB / 0.7013 GB, free: 10.14 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)