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.004544/0.004544, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001134/0.001134, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 290.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9438/0.9438, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 95.86 kB / 0.6815 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4045, allocations: 86.97 MB / 0.7664 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003189/0.4078, allocations: 2.087 MB / 0.7684 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4095, allocations: 1.169 MB / 0.7696 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4097, allocations: 7.938 kB / 0.7696 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.4101, allocations: 115 kB / 0.7697 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.4102, allocations: 47.58 kB / 0.7697 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.4108, allocations: 251.5 kB / 0.77 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.4112, allocations: 323.3 kB / 0.7703 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.4114, allocations: 106.6 kB / 0.7704 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4115, allocations: 111.6 kB / 0.7705 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.4116, allocations: 127.5 kB / 0.7706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.4117, allocations: 28 kB / 0.7706 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.412, allocations: 227.7 kB / 0.7709 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4122, allocations: 91.73 kB / 0.7709 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.4123, allocations: 151.2 kB / 0.7711 GB, free: 15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005642/0.4129, allocations: 0.5594 MB / 0.7716 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4129, allocations: 0 / 0.7716 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4129, allocations: 0 / 0.7716 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4129, allocations: 0 / 0.7716 GB, free: 14.45 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.001108/0.414, allocations: 0.8088 MB / 0.7724 GB, free: 13.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4141, allocations: 8.031 kB / 0.7724 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.4141, allocations: 36.47 kB / 0.7725 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.4145, allocations: 328.4 kB / 0.7728 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4145, allocations: 12.66 kB / 0.7728 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.4146, allocations: 16.38 kB / 0.7728 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.4152, allocations: 295.8 kB / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4152, allocations: 0 / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.4152, allocations: 8 kB / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.4152, allocations: 7.938 kB / 0.7731 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.4159, allocations: 272.4 kB / 0.7734 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.4168, allocations: 0.6679 MB / 0.774 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.4173, allocations: 230.6 kB / 0.7742 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.4177, allocations: 192.7 kB / 0.7744 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4177, allocations: 4 kB / 0.7744 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.4178, allocations: 34.56 kB / 0.7745 GB, free: 11.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.4178, allocations: 0 / 0.7745 GB, free: 11.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001312/0.4191, allocations: 0.6652 MB / 0.7751 GB, free: 10.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.4192, allocations: 144.5 kB / 0.7752 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.4196, allocations: 380.4 kB / 0.7756 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4196, allocations: 29.7 kB / 0.7756 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4197, allocations: 168.3 kB / 0.7758 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.4198, allocations: 39.34 kB / 0.7758 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.618e-05/0.4199, allocations: 49.7 kB / 0.7759 GB, free: 9.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.42, allocations: 346.7 kB / 0.7762 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.4204, allocations: 239.9 kB / 0.7764 GB, free: 9.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.4209, allocations: 238.1 kB / 0.7767 GB, free: 9.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/0.4218, allocations: 0.6835 MB / 0.7773 GB, free: 8.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4218, allocations: 0 / 0.7773 GB, free: 8.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001041/0.4228, allocations: 0.7241 MB / 0.778 GB, free: 7.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4229, allocations: 186.3 kB / 0.7782 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.423, allocations: 7.938 kB / 0.7782 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.423, allocations: 3.938 kB / 0.7782 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4231, allocations: 31.91 kB / 0.7783 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4232, allocations: 4 kB / 0.7783 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.4234, allocations: 47.7 kB / 0.7783 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4234, allocations: 4 kB / 0.7783 GB, free: 7.184 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.0002144/0.4236, allocations: 262.9 kB / 0.7786 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.4237, allocations: 27.7 kB / 0.7786 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.4238, allocations: 26.95 kB / 0.7786 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4238, allocations: 3.984 kB / 0.7786 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4238, allocations: 0 / 0.7786 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4238, allocations: 0 / 0.7786 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.4242, allocations: 353.2 kB / 0.779 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4242, allocations: 0 / 0.779 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4243, allocations: 39.89 kB / 0.779 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4244, allocations: 3.984 kB / 0.779 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.4244, allocations: 8 kB / 0.779 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4244, allocations: 0 / 0.779 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4244, allocations: 0 / 0.779 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.4253, allocations: 0.6211 MB / 0.7796 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.4254, allocations: 108.7 kB / 0.7797 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.4255, allocations: 4 kB / 0.7797 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.4257, allocations: 27.97 kB / 0.7798 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4258, allocations: 27.97 kB / 0.7798 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.4259, allocations: 4 kB / 0.7798 GB, free: 5.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002738/0.4261, allocations: 279 kB / 0.78 GB, free: 5.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.743e-06/0.4261, allocations: 0 / 0.78 GB, free: 5.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004319/0.4266, allocations: 107.9 kB / 0.7802 GB, free: 5.164 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.000298/0.4269, allocations: 163.1 kB / 0.7803 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.4281, allocations: 0.8282 MB / 0.7811 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4281, allocations: 4 kB / 0.7811 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004886/0.4286, allocations: 374 kB / 0.7815 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.429, allocations: 81.27 kB / 0.7816 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.43, allocations: 0.6319 MB / 0.7822 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4303, allocations: 0.787 MB / 0.7829 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.23e-05/0.4304, allocations: 21.94 kB / 0.783 GB, free: 2.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.4305, allocations: 23.38 kB / 0.783 GB, free: 2.098 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.4305, allocations: 0 / 0.783 GB, free: 2.098 MB / 0.545 GB Notification: Performance of Templates: time 0.009875/0.4404, allocations: 5.99 MB / 0.7888 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)