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.001684/0.001684, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001889/0.001889, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002278/0.002278, allocations: 290.2 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 98.58 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1522, allocations: 86.98 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003432/0.1556, allocations: 2.083 MB / 0.6829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1575, allocations: 1.165 MB / 0.684 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1576, allocations: 7.938 kB / 0.684 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1581, allocations: 115.6 kB / 0.6841 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.1582, allocations: 51.56 kB / 0.6842 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.1589, allocations: 251.5 kB / 0.6844 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.1592, allocations: 323.2 kB / 0.6847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1593, allocations: 98.97 kB / 0.6848 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.701e-05/0.1594, allocations: 103.7 kB / 0.6849 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1596, allocations: 127.5 kB / 0.6851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.1597, allocations: 28 kB / 0.6851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.16, allocations: 227.7 kB / 0.6853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.1601, allocations: 91.73 kB / 0.6854 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1602, allocations: 155.2 kB / 0.6855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1608, allocations: 0.5375 MB / 0.6861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1608, allocations: 4 kB / 0.6861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1608, allocations: 0 / 0.6861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1608, allocations: 0 / 0.6861 GB, free: 2.816 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.001081/0.1619, allocations: 0.8104 MB / 0.6869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1619, allocations: 12.02 kB / 0.6869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.162, allocations: 32.56 kB / 0.6869 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1624, allocations: 320.4 kB / 0.6872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1624, allocations: 16.64 kB / 0.6872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.1624, allocations: 16.38 kB / 0.6872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.163, allocations: 291.8 kB / 0.6875 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.163, allocations: 4 kB / 0.6875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.1631, allocations: 8 kB / 0.6875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1631, allocations: 8 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.1637, allocations: 272.1 kB / 0.6878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.1646, allocations: 0.6756 MB / 0.6884 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2711/0.4357, allocations: 231.4 kB / 0.6887 GB, free: 18.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.4362, allocations: 193.5 kB / 0.6889 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4363, allocations: 1.875 kB / 0.6889 GB, free: 18.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4363, allocations: 33.81 kB / 0.6889 GB, free: 18.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.4363, allocations: 0 / 0.6889 GB, free: 18.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001411/0.4377, allocations: 0.673 MB / 0.6895 GB, free: 18.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.4378, allocations: 136.9 kB / 0.6897 GB, free: 17.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.4382, allocations: 383.1 kB / 0.69 GB, free: 17.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4383, allocations: 28.55 kB / 0.6901 GB, free: 17.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.4384, allocations: 168.6 kB / 0.6902 GB, free: 17.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.4384, allocations: 42.09 kB / 0.6903 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.4385, allocations: 48.61 kB / 0.6903 GB, free: 17.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.4386, allocations: 343.1 kB / 0.6906 GB, free: 17.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.4391, allocations: 238.7 kB / 0.6909 GB, free: 17.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.4395, allocations: 241 kB / 0.6911 GB, free: 17.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.4404, allocations: 0.6871 MB / 0.6918 GB, free: 16.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4404, allocations: 0 / 0.6918 GB, free: 16.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001115/0.4416, allocations: 0.7294 MB / 0.6925 GB, free: 16.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.4417, allocations: 184.7 kB / 0.6927 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4417, allocations: 0 / 0.6927 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4417, allocations: 1.594 kB / 0.6927 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4419, allocations: 32.27 kB / 0.6927 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4419, allocations: 1.188 kB / 0.6927 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.4421, allocations: 47.94 kB / 0.6927 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.4422, allocations: 6.719 kB / 0.6927 GB, free: 16.3 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.0001792/0.4424, allocations: 259.6 kB / 0.693 GB, free: 16.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.4424, allocations: 29.5 kB / 0.693 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.4425, allocations: 33.42 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4425, allocations: 0.5625 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4425, allocations: 0.8125 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4425, allocations: 2.062 kB / 0.6931 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.4429, allocations: 352.4 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4429, allocations: 5.609 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.4431, allocations: 27.41 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4431, allocations: 0 / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.4431, allocations: 5.016 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4431, allocations: 4.578 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4431, allocations: 1.25 kB / 0.6934 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.444, allocations: 0.6157 MB / 0.694 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.4441, allocations: 108.3 kB / 0.6941 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4442, allocations: 5.844 kB / 0.6941 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.4444, allocations: 34.42 kB / 0.6942 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4445, allocations: 25.97 kB / 0.6942 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.4446, allocations: 5.281 kB / 0.6942 GB, free: 15.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.4448, allocations: 276.8 kB / 0.6945 GB, free: 15.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4448, allocations: 0 / 0.6945 GB, free: 15.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.4453, allocations: 111.8 kB / 0.6946 GB, free: 15.15 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.0002777/0.4456, allocations: 160.5 kB / 0.6947 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.4468, allocations: 0.8414 MB / 0.6956 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4468, allocations: 1.5 kB / 0.6956 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.4473, allocations: 383.4 kB / 0.6959 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.4477, allocations: 68.72 kB / 0.696 GB, free: 14.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.4488, allocations: 0.6856 MB / 0.6967 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.449, allocations: 0.7795 MB / 0.6974 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.4491, allocations: 27.42 kB / 0.6974 GB, free: 13.17 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4491, allocations: 4 kB / 0.6974 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Templates: time 0.009327/0.4584, allocations: 4.953 MB / 0.7023 GB, free: 12.71 MB / 494.1 MB 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)