Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001719/0.001719, allocations: 103.1 kB / 16.27 MB, free: 6.418 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.002104/0.002104, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8417/0.8417, allocations: 132.2 MB / 423.2 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.5025 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4546, allocations: 80.18 MB / 0.5807 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003416/0.4581, allocations: 2.083 MB / 0.5828 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.4598, allocations: 1.181 MB / 0.5839 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.46, allocations: 2.531 kB / 0.5839 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.4604, allocations: 119 kB / 0.5841 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.654e-05/0.4605, allocations: 48.69 kB / 0.5841 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.4613, allocations: 255.3 kB / 0.5843 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.4616, allocations: 315.2 kB / 0.5846 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.4618, allocations: 93.75 kB / 0.5847 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.4619, allocations: 116.5 kB / 0.5848 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.4621, allocations: 128.2 kB / 0.585 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.4621, allocations: 26.88 kB / 0.585 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.4625, allocations: 218.8 kB / 0.5852 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4626, allocations: 95.62 kB / 0.5853 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4627, allocations: 149.2 kB / 0.5854 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.4632, allocations: 0.549 MB / 0.586 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4632, allocations: 0 / 0.586 GB, free: 23.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4633, allocations: 2.625 kB / 0.586 GB, free: 23.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4633, allocations: 0 / 0.586 GB, free: 23.46 MB / 446.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.00102/0.4643, allocations: 0.808 MB / 0.5868 GB, free: 22.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4643, allocations: 8.75 kB / 0.5868 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.4644, allocations: 33.22 kB / 0.5868 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.4648, allocations: 317.5 kB / 0.5871 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4648, allocations: 20.86 kB / 0.5871 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.4648, allocations: 20.88 kB / 0.5871 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.4654, allocations: 292.2 kB / 0.5874 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4654, allocations: 0 / 0.5874 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.4654, allocations: 8.156 kB / 0.5874 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4654, allocations: 2.781 kB / 0.5874 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006139/0.4661, allocations: 268.6 kB / 0.5877 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.4669, allocations: 0.6785 MB / 0.5884 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.4674, allocations: 233.5 kB / 0.5886 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.4678, allocations: 191.9 kB / 0.5888 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.4678, allocations: 3.375 kB / 0.5888 GB, free: 21.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.4678, allocations: 35.78 kB / 0.5888 GB, free: 21.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4678, allocations: 0 / 0.5888 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001253/0.4691, allocations: 0.6691 MB / 0.5894 GB, free: 20.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.4692, allocations: 137.8 kB / 0.5896 GB, free: 20.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.4695, allocations: 379.8 kB / 0.5899 GB, free: 20.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4695, allocations: 33.58 kB / 0.59 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.4696, allocations: 168.9 kB / 0.5901 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4697, allocations: 50.55 kB / 0.5902 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.4698, allocations: 51.08 kB / 0.5902 GB, free: 20.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.4698, allocations: 345.5 kB / 0.5906 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4702, allocations: 236.9 kB / 0.5908 GB, free: 19.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.4706, allocations: 242.5 kB / 0.591 GB, free: 19.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.4713, allocations: 0.6802 MB / 0.5917 GB, free: 18.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4713, allocations: 0 / 0.5917 GB, free: 18.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008385/0.4722, allocations: 0.7321 MB / 0.5924 GB, free: 17.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.4722, allocations: 178.2 kB / 0.5926 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4723, allocations: 3.984 kB / 0.5926 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4723, allocations: 0 / 0.5926 GB, free: 17.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4724, allocations: 37.62 kB / 0.5926 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4725, allocations: 4 kB / 0.5926 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.4727, allocations: 47.27 kB / 0.5927 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.4727, allocations: 7.938 kB / 0.5927 GB, free: 17.61 MB / 446.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.0001493/0.4729, allocations: 262.8 kB / 0.5929 GB, free: 17.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.4729, allocations: 31.62 kB / 0.5929 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.473, allocations: 30.94 kB / 0.593 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.473, allocations: 0 / 0.593 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.473, allocations: 0 / 0.593 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.473, allocations: 1.125 kB / 0.593 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.4732, allocations: 353.3 kB / 0.5933 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4732, allocations: 0 / 0.5933 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.4734, allocations: 32.53 kB / 0.5933 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4734, allocations: 0.6562 kB / 0.5933 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4734, allocations: 4.562 kB / 0.5933 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4734, allocations: 0 / 0.5933 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4734, allocations: 1.219 kB / 0.5933 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.4742, allocations: 0.6197 MB / 0.594 GB, free: 16.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.4743, allocations: 112.7 kB / 0.5941 GB, free: 16.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.4743, allocations: 8.812 kB / 0.5941 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.4745, allocations: 25.81 kB / 0.5941 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4746, allocations: 27.97 kB / 0.5941 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4747, allocations: 8 kB / 0.5941 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001957/0.4749, allocations: 276.2 kB / 0.5944 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4749, allocations: 0 / 0.5944 GB, free: 15.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004113/0.4753, allocations: 107.9 kB / 0.5945 GB, free: 15.62 MB / 446.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.0002483/0.4755, allocations: 168.7 kB / 0.5947 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.4765, allocations: 0.8376 MB / 0.5955 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4765, allocations: 0.7812 kB / 0.5955 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.4769, allocations: 371.8 kB / 0.5958 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4773, allocations: 68.05 kB / 0.5959 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.4781, allocations: 0.694 MB / 0.5966 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.4783, allocations: 0.7758 MB / 0.5973 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4784, allocations: 28.83 kB / 0.5974 GB, free: 12.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4784, allocations: 0 / 0.5974 GB, free: 12.53 MB / 446.1 MB Notification: Performance of Templates: time 0.005843/0.4843, allocations: 4.951 MB / 0.6022 GB, free: 7.656 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)