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.001468/0.001468, allocations: 112.6 kB / 16.37 MB, free: 6 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.001604/0.001605, allocations: 196 kB / 17.31 MB, free: 5.613 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8215/0.8215, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3895, allocations: 80.19 MB / 0.5815 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003135/0.3927, allocations: 2.082 MB / 0.5835 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3947, allocations: 1.188 MB / 0.5847 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3948, allocations: 4.469 kB / 0.5847 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.3952, allocations: 117.4 kB / 0.5848 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.3953, allocations: 48.52 kB / 0.5849 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.396, allocations: 246.1 kB / 0.5851 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.3963, allocations: 318.1 kB / 0.5854 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3965, allocations: 105.3 kB / 0.5855 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.3966, allocations: 104.5 kB / 0.5856 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.3967, allocations: 128.1 kB / 0.5857 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.3968, allocations: 30.28 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003083/0.3971, allocations: 226.7 kB / 0.586 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.3972, allocations: 94.95 kB / 0.5861 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3973, allocations: 149.2 kB / 0.5862 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.3978, allocations: 0.559 MB / 0.5867 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3978, allocations: 0 / 0.5867 GB, free: 23.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3978, allocations: 0 / 0.5867 GB, free: 23.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.3978, allocations: 0 / 0.5867 GB, free: 23.57 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.0009642/0.3988, allocations: 0.8026 MB / 0.5875 GB, free: 22.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3988, allocations: 9.781 kB / 0.5875 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.977e-05/0.3989, allocations: 33.19 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.3992, allocations: 331.5 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3993, allocations: 16.09 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.3993, allocations: 22.22 kB / 0.5879 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.3999, allocations: 289.7 kB / 0.5882 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3999, allocations: 1.125 kB / 0.5882 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.3999, allocations: 7.094 kB / 0.5882 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3999, allocations: 3.906 kB / 0.5882 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006248/0.4005, allocations: 273.5 kB / 0.5885 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.4014, allocations: 0.6733 MB / 0.5891 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.4019, allocations: 227.4 kB / 0.5893 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.4023, allocations: 199.5 kB / 0.5895 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4023, allocations: 1.312 kB / 0.5895 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.4024, allocations: 31.88 kB / 0.5896 GB, free: 21.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.4024, allocations: 1.5 kB / 0.5896 GB, free: 21.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001185/0.4036, allocations: 0.6673 MB / 0.5902 GB, free: 21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4036, allocations: 137 kB / 0.5904 GB, free: 20.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.4039, allocations: 380.5 kB / 0.5907 GB, free: 20.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4039, allocations: 33.69 kB / 0.5907 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.404, allocations: 164.3 kB / 0.5909 GB, free: 20.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.404, allocations: 39.98 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.4041, allocations: 53.81 kB / 0.591 GB, free: 20.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.4042, allocations: 348 kB / 0.5913 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.4045, allocations: 247.6 kB / 0.5916 GB, free: 19.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.4049, allocations: 236.5 kB / 0.5918 GB, free: 19.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.4055, allocations: 0.6748 MB / 0.5924 GB, free: 18.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4055, allocations: 1.688 kB / 0.5925 GB, free: 18.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008038/0.4064, allocations: 0.7314 MB / 0.5932 GB, free: 17.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.4064, allocations: 186.2 kB / 0.5933 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4064, allocations: 0.7812 kB / 0.5933 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4065, allocations: 0 / 0.5933 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4066, allocations: 33.72 kB / 0.5934 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4066, allocations: 4 kB / 0.5934 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.4068, allocations: 44.41 kB / 0.5934 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.4069, allocations: 11.44 kB / 0.5934 GB, free: 17.57 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.0001561/0.407, allocations: 258.8 kB / 0.5937 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.4071, allocations: 31.62 kB / 0.5937 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.4071, allocations: 26.94 kB / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4072, allocations: 0 / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4072, allocations: 0 / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4072, allocations: 0 / 0.5937 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.4074, allocations: 353.3 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4074, allocations: 0.8438 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4076, allocations: 32.47 kB / 0.5941 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4076, allocations: 0.6562 kB / 0.5941 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.4076, allocations: 4 kB / 0.5941 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4076, allocations: 5.438 kB / 0.5941 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4076, allocations: 0 / 0.5941 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.4084, allocations: 0.6259 MB / 0.5947 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.4085, allocations: 110.3 kB / 0.5948 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.4085, allocations: 8 kB / 0.5948 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4087, allocations: 31.95 kB / 0.5949 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4088, allocations: 29.03 kB / 0.5949 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4089, allocations: 4 kB / 0.5949 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.4091, allocations: 272.9 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4091, allocations: 0 / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000414/0.4095, allocations: 111.9 kB / 0.5953 GB, free: 15.57 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.0002385/0.4097, allocations: 160.7 kB / 0.5954 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.4106, allocations: 0.8302 MB / 0.5962 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4106, allocations: 0 / 0.5962 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.411, allocations: 379 kB / 0.5966 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.4114, allocations: 73.91 kB / 0.5967 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.4122, allocations: 0.6379 MB / 0.5973 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.4124, allocations: 0.7859 MB / 0.5981 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.434e-05/0.4125, allocations: 18.61 kB / 0.5981 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.4126, allocations: 20.12 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4126, allocations: 3.938 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of Templates: time 0.008363/0.4209, allocations: 5.962 MB / 0.6039 GB, free: 6.695 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)