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.001271/0.001271, allocations: 111.6 kB / 16.41 MB, free: 6.492 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.001229/0.001229, allocations: 192 kB / 17.34 MB, free: 5.723 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002656/0.002656, allocations: 297.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 100.1 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4149, allocations: 86.97 MB / 0.7671 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003794/0.4187, allocations: 2.083 MB / 0.7691 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.4207, allocations: 1.181 MB / 0.7703 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.4208, allocations: 7.938 kB / 0.7703 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.4212, allocations: 107.3 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4213, allocations: 51.58 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.422, allocations: 259.2 kB / 0.7707 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.4223, allocations: 303.2 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.4225, allocations: 78.78 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.4226, allocations: 111.6 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.4228, allocations: 119.5 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.4229, allocations: 32 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.4232, allocations: 227.7 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4233, allocations: 95.67 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.4235, allocations: 151.2 kB / 0.7717 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.4242, allocations: 0.5584 MB / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4242, allocations: 0 / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4242, allocations: 0 / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4242, allocations: 0 / 0.7723 GB, free: 14.43 MB / 0.545 GB 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.001269/0.4255, allocations: 0.8278 MB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.4255, allocations: 8.031 kB / 0.7731 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.84e-05/0.4256, allocations: 32.75 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.426, allocations: 324.5 kB / 0.7734 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.426, allocations: 16.66 kB / 0.7734 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.4261, allocations: 20.38 kB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.4267, allocations: 295.8 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4267, allocations: 3.938 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.4267, allocations: 8 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.4267, allocations: 4 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.4275, allocations: 268.4 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4285, allocations: 0.6719 MB / 0.7747 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.4291, allocations: 226.6 kB / 0.7749 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.4295, allocations: 180.7 kB / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4295, allocations: 0 / 0.7751 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.4296, allocations: 42.56 kB / 0.7751 GB, free: 11.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.4296, allocations: 0 / 0.7751 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001461/0.431, allocations: 0.6775 MB / 0.7758 GB, free: 10.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4311, allocations: 140.4 kB / 0.7759 GB, free: 10.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.4316, allocations: 376.5 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.4316, allocations: 29.7 kB / 0.7763 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4318, allocations: 168.3 kB / 0.7764 GB, free: 9.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.4318, allocations: 51.58 kB / 0.7765 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.4319, allocations: 45.7 kB / 0.7765 GB, free: 9.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4321, allocations: 342.8 kB / 0.7769 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.4326, allocations: 239.8 kB / 0.7771 GB, free: 9.211 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.433, allocations: 241.5 kB / 0.7773 GB, free: 8.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.4341, allocations: 0.6783 MB / 0.778 GB, free: 8.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4341, allocations: 0 / 0.778 GB, free: 8.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001211/0.4353, allocations: 0.7336 MB / 0.7787 GB, free: 7.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.4354, allocations: 178.2 kB / 0.7789 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4354, allocations: 8 kB / 0.7789 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4354, allocations: 4 kB / 0.7789 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4356, allocations: 27.97 kB / 0.7789 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4356, allocations: 0 / 0.7789 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4358, allocations: 43.81 kB / 0.779 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.4359, allocations: 8 kB / 0.779 GB, free: 7.164 MB / 0.545 GB 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.0002715/0.4361, allocations: 269.2 kB / 0.7792 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.4362, allocations: 31.81 kB / 0.7792 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.4363, allocations: 34.92 kB / 0.7793 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4363, allocations: 4 kB / 0.7793 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4363, allocations: 0 / 0.7793 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4363, allocations: 0 / 0.7793 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.4367, allocations: 349.3 kB / 0.7796 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4367, allocations: 0 / 0.7796 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.4369, allocations: 31.91 kB / 0.7796 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4369, allocations: 8 kB / 0.7797 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4369, allocations: 0 / 0.7797 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4369, allocations: 4 kB / 0.7797 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4369, allocations: 3.938 kB / 0.7797 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4379, allocations: 0.6251 MB / 0.7803 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4381, allocations: 112.9 kB / 0.7804 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.4381, allocations: 8 kB / 0.7804 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4383, allocations: 23.97 kB / 0.7804 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4384, allocations: 27.97 kB / 0.7804 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4384, allocations: 8 kB / 0.7804 GB, free: 5.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003167/0.4388, allocations: 275 kB / 0.7807 GB, free: 5.234 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4388, allocations: 7.938 kB / 0.7807 GB, free: 5.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000434/0.4392, allocations: 99.88 kB / 0.7808 GB, free: 5.129 MB / 0.545 GB 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.0003074/0.4395, allocations: 163.1 kB / 0.781 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.4408, allocations: 0.8087 MB / 0.7818 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4408, allocations: 0 / 0.7818 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.4414, allocations: 366 kB / 0.7821 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.4418, allocations: 69.34 kB / 0.7822 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.4429, allocations: 0.6612 MB / 0.7828 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.4434, allocations: 0.7869 MB / 0.7836 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.4435, allocations: 25.94 kB / 0.7836 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.4436, allocations: 19.44 kB / 0.7836 GB, free: 2.078 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4436, allocations: 0 / 0.7836 GB, free: 2.078 MB / 0.545 GB Notification: Performance of Templates: time 0.01143/0.455, allocations: 5.988 MB / 0.7895 GB, free: 12.18 MB / 0.5606 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)