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.004515/0.004515, allocations: 99.09 kB / 15.73 MB, free: 6.008 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.001075/0.001075, allocations: 189.6 kB / 16.67 MB, free: 5.926 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.332/1.332, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 293 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9157/0.9157, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3874, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002962/0.3904, allocations: 2.083 MB / 0.7684 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.392, allocations: 1.177 MB / 0.7696 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3921, allocations: 4 kB / 0.7696 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3925, allocations: 111.3 kB / 0.7697 GB, free: 492 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.3926, allocations: 47.58 kB / 0.7697 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.3933, allocations: 259.2 kB / 0.77 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.3936, allocations: 319.3 kB / 0.7703 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3938, allocations: 106.7 kB / 0.7704 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3939, allocations: 107.6 kB / 0.7705 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.3941, allocations: 123.5 kB / 0.7706 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.3941, allocations: 32 kB / 0.7706 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.3945, allocations: 231.6 kB / 0.7709 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.3946, allocations: 91.73 kB / 0.7709 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.3947, allocations: 151.2 kB / 0.7711 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.3953, allocations: 0.5623 MB / 0.7716 GB, free: 14.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3953, allocations: 0 / 0.7716 GB, free: 14.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3953, allocations: 0 / 0.7716 GB, free: 14.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3954, allocations: 0 / 0.7716 GB, free: 14.49 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.001037/0.3964, allocations: 0.8162 MB / 0.7724 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3964, allocations: 8.031 kB / 0.7724 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.3965, allocations: 36.75 kB / 0.7725 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3969, allocations: 328.5 kB / 0.7728 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3969, allocations: 12.66 kB / 0.7728 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.3969, allocations: 20.38 kB / 0.7728 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.3975, allocations: 291.8 kB / 0.7731 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3975, allocations: 0 / 0.7731 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3976, allocations: 11.94 kB / 0.7731 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3976, allocations: 8 kB / 0.7731 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.3982, allocations: 272.3 kB / 0.7734 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.3991, allocations: 0.6681 MB / 0.774 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.3996, allocations: 234.5 kB / 0.7743 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.4, allocations: 192.7 kB / 0.7744 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4, allocations: 0 / 0.7744 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4001, allocations: 34.56 kB / 0.7745 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.4001, allocations: 0 / 0.7745 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001289/0.4014, allocations: 0.6761 MB / 0.7751 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.4014, allocations: 140.5 kB / 0.7753 GB, free: 10.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.4018, allocations: 376.5 kB / 0.7756 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.4019, allocations: 29.7 kB / 0.7757 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.402, allocations: 168.3 kB / 0.7758 GB, free: 9.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.402, allocations: 47.59 kB / 0.7759 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.4021, allocations: 49.7 kB / 0.7759 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4023, allocations: 346.7 kB / 0.7762 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.4027, allocations: 235.9 kB / 0.7765 GB, free: 9.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.4032, allocations: 240.7 kB / 0.7767 GB, free: 9.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.4041, allocations: 0.6748 MB / 0.7774 GB, free: 8.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4041, allocations: 0 / 0.7774 GB, free: 8.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001053/0.4052, allocations: 0.7337 MB / 0.7781 GB, free: 7.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4053, allocations: 190.1 kB / 0.7783 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4053, allocations: 0 / 0.7783 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4053, allocations: 3.938 kB / 0.7783 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4055, allocations: 27.97 kB / 0.7783 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4055, allocations: 0 / 0.7783 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.4057, allocations: 51.8 kB / 0.7783 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4057, allocations: 8 kB / 0.7783 GB, free: 7.207 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.0002054/0.4059, allocations: 266.8 kB / 0.7786 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.406, allocations: 31.8 kB / 0.7786 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.406, allocations: 30.94 kB / 0.7787 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.406, allocations: 0 / 0.7787 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4061, allocations: 0 / 0.7787 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4061, allocations: 0 / 0.7787 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.4064, allocations: 349.3 kB / 0.779 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4064, allocations: 3.984 kB / 0.779 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.4066, allocations: 35.97 kB / 0.779 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4066, allocations: 0 / 0.779 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4066, allocations: 4 kB / 0.779 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4066, allocations: 0 / 0.779 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4066, allocations: 0 / 0.779 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/0.4075, allocations: 0.6275 MB / 0.7796 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.4076, allocations: 116.9 kB / 0.7798 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.4077, allocations: 4 kB / 0.7798 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.4079, allocations: 31.97 kB / 0.7798 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.408, allocations: 23.97 kB / 0.7798 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.408, allocations: 8 kB / 0.7798 GB, free: 5.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000264/0.4083, allocations: 271 kB / 0.7801 GB, free: 5.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4083, allocations: 7.938 kB / 0.7801 GB, free: 5.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003744/0.4087, allocations: 103.9 kB / 0.7802 GB, free: 5.18 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.0002686/0.409, allocations: 155.1 kB / 0.7803 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.4101, allocations: 0.836 MB / 0.7811 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4101, allocations: 4 kB / 0.7812 GB, free: 4.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.4106, allocations: 370.1 kB / 0.7815 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.411, allocations: 84.7 kB / 0.7816 GB, free: 3.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.4121, allocations: 0.647 MB / 0.7822 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4125, allocations: 0.783 MB / 0.783 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.063e-05/0.4125, allocations: 25.95 kB / 0.783 GB, free: 2.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.4126, allocations: 23.42 kB / 0.783 GB, free: 2.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4126, allocations: 0 / 0.783 GB, free: 2.102 MB / 0.545 GB Notification: Performance of Templates: time 0.009388/0.422, allocations: 5.984 MB / 0.7889 GB, free: 12.21 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)