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.001195/0.001195, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 194 kB / 16.53 MB, free: 6.699 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 286.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9135/0.9135, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001652, allocations: 95.88 kB / 0.5952 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1364, allocations: 86.98 MB / 0.6802 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003089/0.1395, allocations: 2.075 MB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1412, allocations: 1.168 MB / 0.6834 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.1412, allocations: 4 kB / 0.6834 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1416, allocations: 121.6 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.1417, allocations: 51.52 kB / 0.6835 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.1423, allocations: 251.5 kB / 0.6838 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1426, allocations: 315.2 kB / 0.6841 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1428, allocations: 107 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.1429, allocations: 95.7 kB / 0.6843 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1431, allocations: 135.4 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.1431, allocations: 32 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.1434, allocations: 227.7 kB / 0.6846 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1436, allocations: 91.73 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1437, allocations: 147.2 kB / 0.6849 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.1442, allocations: 0.5414 MB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1442, allocations: 0 / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1442, allocations: 0 / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1442, allocations: 4 kB / 0.6854 GB, free: 11.35 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.001013/0.1452, allocations: 0.8009 MB / 0.6862 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1453, allocations: 12.03 kB / 0.6862 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.1453, allocations: 40.47 kB / 0.6862 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1457, allocations: 324.4 kB / 0.6865 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1457, allocations: 16.59 kB / 0.6866 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.1458, allocations: 16.38 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.1463, allocations: 295.2 kB / 0.6869 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1463, allocations: 0 / 0.6869 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1464, allocations: 8 kB / 0.6869 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1464, allocations: 8 kB / 0.6869 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.147, allocations: 272.1 kB / 0.6871 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.1479, allocations: 0.6757 MB / 0.6878 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.1484, allocations: 226.6 kB / 0.688 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.1488, allocations: 192.7 kB / 0.6882 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.1489, allocations: 4 kB / 0.6882 GB, free: 8.301 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.1489, allocations: 34.56 kB / 0.6882 GB, free: 8.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1489, allocations: 0 / 0.6882 GB, free: 8.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001291/0.1502, allocations: 0.6769 MB / 0.6889 GB, free: 7.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.1503, allocations: 140.5 kB / 0.689 GB, free: 7.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.1506, allocations: 376.5 kB / 0.6894 GB, free: 7.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1507, allocations: 29.7 kB / 0.6894 GB, free: 6.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.1508, allocations: 172.2 kB / 0.6896 GB, free: 6.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1508, allocations: 39.36 kB / 0.6896 GB, free: 6.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.1509, allocations: 49.7 kB / 0.6897 GB, free: 6.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.151, allocations: 342.8 kB / 0.69 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.1515, allocations: 247.8 kB / 0.6902 GB, free: 6.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.1519, allocations: 233.5 kB / 0.6904 GB, free: 5.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.1528, allocations: 0.6851 MB / 0.6911 GB, free: 5.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1528, allocations: 0 / 0.6911 GB, free: 5.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001039/0.1539, allocations: 0.7277 MB / 0.6918 GB, free: 4.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.154, allocations: 182.2 kB / 0.692 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.154, allocations: 4 kB / 0.692 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.154, allocations: 3.984 kB / 0.692 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1542, allocations: 31.91 kB / 0.692 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1542, allocations: 7.984 kB / 0.692 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1544, allocations: 39.75 kB / 0.6921 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1544, allocations: 8 kB / 0.6921 GB, free: 4.082 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.000193/0.1546, allocations: 267.5 kB / 0.6923 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1547, allocations: 31.62 kB / 0.6924 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.1548, allocations: 26.94 kB / 0.6924 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1548, allocations: 0 / 0.6924 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1548, allocations: 0 / 0.6924 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1548, allocations: 0 / 0.6924 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.1551, allocations: 353.2 kB / 0.6927 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1551, allocations: 0 / 0.6927 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1553, allocations: 27.97 kB / 0.6928 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1553, allocations: 0 / 0.6928 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.1553, allocations: 12 kB / 0.6928 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.1553, allocations: 3.938 kB / 0.6928 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1553, allocations: 3.938 kB / 0.6928 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.1562, allocations: 0.6173 MB / 0.6934 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.1563, allocations: 116.7 kB / 0.6935 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1564, allocations: 4 kB / 0.6935 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1566, allocations: 27.97 kB / 0.6935 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.1567, allocations: 27.97 kB / 0.6936 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1567, allocations: 4 kB / 0.6936 GB, free: 2.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.157, allocations: 275 kB / 0.6938 GB, free: 2.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.6938 GB, free: 2.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1574, allocations: 103.9 kB / 0.6939 GB, free: 2.074 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.0002535/0.1576, allocations: 163.1 kB / 0.6941 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1588, allocations: 0.836 MB / 0.6949 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1588, allocations: 4 kB / 0.6949 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.1593, allocations: 378 kB / 0.6953 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1597, allocations: 77.27 kB / 0.6953 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.1606, allocations: 0.6475 MB / 0.696 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1609, allocations: 0.7831 MB / 0.6967 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.73e-05/0.161, allocations: 25.95 kB / 0.6967 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.1611, allocations: 15.44 kB / 0.6968 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1611, allocations: 4 kB / 0.6968 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.009153/0.1702, allocations: 5.965 MB / 0.7026 GB, free: 9.113 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)