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.0008198/0.0008197, allocations: 86.8 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.0008501/0.0008501, 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.329/1.329, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 274 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9535/0.9535, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 13 kB / 0.598 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00199/0.1362, allocations: 1.719 MB / 0.6862 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1377, allocations: 1.088 MB / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.1378, allocations: 5.156 kB / 0.6872 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1381, allocations: 90.84 kB / 0.6873 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.1382, allocations: 31.72 kB / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.1388, allocations: 185.3 kB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.139, allocations: 247.9 kB / 0.6878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1392, allocations: 77.81 kB / 0.6878 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.1393, allocations: 81.41 kB / 0.6879 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1394, allocations: 103.5 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1394, allocations: 12 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.1397, allocations: 187.7 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.014e-05/0.1398, allocations: 72.41 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.1399, allocations: 73.52 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1403, allocations: 425.1 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1403, allocations: 0 / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1403, allocations: 0 / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1403, allocations: 3.938 kB / 0.6888 GB, free: 11.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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009471/0.1413, allocations: 0.7773 MB / 0.6895 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1413, allocations: 8.031 kB / 0.6895 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.1414, allocations: 32.16 kB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1417, allocations: 308.5 kB / 0.6899 GB, free: 9.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1418, allocations: 12.28 kB / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1418, allocations: 16 kB / 0.6899 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.1424, allocations: 307.8 kB / 0.6902 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1424, allocations: 0 / 0.6902 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.1424, allocations: 8 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1424, allocations: 7.938 kB / 0.6902 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1431, allocations: 312.3 kB / 0.6905 GB, free: 9.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.144, allocations: 0.6717 MB / 0.6911 GB, free: 8.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.1445, allocations: 250.6 kB / 0.6914 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.1449, allocations: 208.7 kB / 0.6916 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1449, allocations: 4.094 kB / 0.6916 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.145, allocations: 42.5 kB / 0.6916 GB, free: 7.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.145, allocations: 0 / 0.6916 GB, free: 7.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001299/0.1463, allocations: 0.7234 MB / 0.6923 GB, free: 7.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1464, allocations: 136.5 kB / 0.6925 GB, free: 7.062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.1467, allocations: 376.5 kB / 0.6928 GB, free: 6.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1468, allocations: 33.69 kB / 0.6929 GB, free: 6.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1469, allocations: 168.3 kB / 0.693 GB, free: 6.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.1469, allocations: 43.36 kB / 0.6931 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.147, allocations: 8 kB / 0.6931 GB, free: 6.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1471, allocations: 338.8 kB / 0.6934 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.1475, allocations: 251.8 kB / 0.6936 GB, free: 5.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.1479, allocations: 255.8 kB / 0.6939 GB, free: 5.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.1484, allocations: 419.5 kB / 0.6943 GB, free: 5.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1485, allocations: 0 / 0.6943 GB, free: 5.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001044/0.1495, allocations: 0.7686 MB / 0.695 GB, free: 4.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-05/0.1496, allocations: 190.1 kB / 0.6952 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1496, allocations: 0 / 0.6952 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1496, allocations: 3.953 kB / 0.6952 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1498, allocations: 35.97 kB / 0.6952 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1498, allocations: 4 kB / 0.6952 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.15, allocations: 47.75 kB / 0.6953 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.1501, allocations: 12 kB / 0.6953 GB, free: 4.012 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.1503, allocations: 251.6 kB / 0.6955 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.1504, allocations: 35.62 kB / 0.6956 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.1504, allocations: 34.94 kB / 0.6956 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1504, allocations: 3.953 kB / 0.6956 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1504, allocations: 0 / 0.6956 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1504, allocations: 0 / 0.6956 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.1508, allocations: 353.2 kB / 0.696 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1508, allocations: 0 / 0.696 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.151, allocations: 39.91 kB / 0.696 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.151, allocations: 4 kB / 0.696 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.151, allocations: 8 kB / 0.696 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.151, allocations: 0 / 0.696 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.151, allocations: 3.953 kB / 0.696 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009245/0.1519, allocations: 0.6407 MB / 0.6966 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.152, allocations: 112.7 kB / 0.6967 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.1521, allocations: 8 kB / 0.6967 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1523, allocations: 35.95 kB / 0.6968 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.1524, allocations: 31.97 kB / 0.6968 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1524, allocations: 7.953 kB / 0.6968 GB, free: 2.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.1527, allocations: 271 kB / 0.6971 GB, free: 2.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1527, allocations: 0 / 0.6971 GB, free: 2.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1531, allocations: 115.8 kB / 0.6972 GB, free: 1.945 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 (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.000247/0.1534, allocations: 151.2 kB / 0.6973 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1545, allocations: 0.8633 MB / 0.6982 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1545, allocations: 0 / 0.6982 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000482/0.155, allocations: 398 kB / 0.6986 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1554, allocations: 75.14 kB / 0.6986 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.1564, allocations: 0.7068 MB / 0.6993 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1567, allocations: 0.7792 MB / 0.7001 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.1568, allocations: 25.95 kB / 0.7001 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1569, allocations: 19.42 kB / 0.7001 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1569, allocations: 0 / 0.7001 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.008749/0.1656, allocations: 5.276 MB / 0.7053 GB, free: 9.578 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)