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.0008971/0.0008971, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009649/0.0009648, allocations: 172 kB / 16.26 MB, free: 6.664 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.393/1.393, allocations: 223.2 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7919/0.7919, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004964, allocations: 12.69 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3932, allocations: 81.56 MB / 0.5837 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002008/0.3952, allocations: 1.785 MB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3969, allocations: 1.207 MB / 0.5866 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.397, allocations: 2.875 kB / 0.5866 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.3973, allocations: 103.1 kB / 0.5867 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.3974, allocations: 37.28 kB / 0.5867 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.398, allocations: 211.3 kB / 0.5869 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.3983, allocations: 264.5 kB / 0.5872 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.3985, allocations: 94.47 kB / 0.5873 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.3986, allocations: 81.33 kB / 0.5874 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.3988, allocations: 100.9 kB / 0.5875 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.3988, allocations: 9.281 kB / 0.5875 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.3991, allocations: 204.7 kB / 0.5877 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.3992, allocations: 74.47 kB / 0.5877 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3994, allocations: 150 kB / 0.5879 GB, free: 1.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.4, allocations: 0.5258 MB / 0.5884 GB, free: 1.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4, allocations: 1.375 kB / 0.5884 GB, free: 1.207 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4, allocations: 0 / 0.5884 GB, free: 1.207 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4, allocations: 0 / 0.5884 GB, free: 1.207 MB / 430.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.001034/0.401, allocations: 0.7631 MB / 0.5891 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4011, allocations: 8.594 kB / 0.5891 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.4012, allocations: 41.75 kB / 0.5892 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.4016, allocations: 325 kB / 0.5895 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4016, allocations: 16.66 kB / 0.5895 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.4017, allocations: 20.75 kB / 0.5895 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.4024, allocations: 303.9 kB / 0.5898 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4024, allocations: 4.906 kB / 0.5898 GB, free: 96 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.4025, allocations: 6.969 kB / 0.5898 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.4025, allocations: 3.875 kB / 0.5898 GB, free: 92 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.4032, allocations: 301.9 kB / 0.5901 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.4044, allocations: 0.6874 MB / 0.5908 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.405, allocations: 245.4 kB / 0.591 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.4055, allocations: 207.9 kB / 0.5912 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.4055, allocations: 1.5 kB / 0.5912 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4055, allocations: 36.5 kB / 0.5913 GB, free: 15.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.4055, allocations: 0 / 0.5913 GB, free: 15.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001642/0.4072, allocations: 0.7106 MB / 0.592 GB, free: 15.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.4073, allocations: 143 kB / 0.5921 GB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.4078, allocations: 376.1 kB / 0.5924 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4079, allocations: 32.86 kB / 0.5925 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.408, allocations: 166 kB / 0.5926 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.4081, allocations: 49.41 kB / 0.5927 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.4081, allocations: 26.84 kB / 0.5927 GB, free: 14.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4083, allocations: 344.2 kB / 0.593 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.4089, allocations: 257 kB / 0.5933 GB, free: 14.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4094, allocations: 253.2 kB / 0.5935 GB, free: 14.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.4105, allocations: 0.7101 MB / 0.5942 GB, free: 13.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4105, allocations: 0 / 0.5942 GB, free: 13.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001291/0.4118, allocations: 0.7704 MB / 0.595 GB, free: 13.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.412, allocations: 192.2 kB / 0.5952 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.412, allocations: 0 / 0.5952 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.412, allocations: 112 / 0.5952 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.4122, allocations: 44.81 kB / 0.5952 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4122, allocations: 0.75 kB / 0.5952 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.4124, allocations: 48.22 kB / 0.5952 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.4125, allocations: 11.17 kB / 0.5953 GB, free: 13.02 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.0002592/0.4127, allocations: 262 kB / 0.5955 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.4128, allocations: 31.12 kB / 0.5955 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.4129, allocations: 28.97 kB / 0.5956 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4129, allocations: 1 kB / 0.5956 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4129, allocations: 1.031 kB / 0.5956 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4129, allocations: 0.8906 kB / 0.5956 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.4134, allocations: 355.1 kB / 0.5959 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4134, allocations: 3.938 kB / 0.5959 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.4136, allocations: 42.16 kB / 0.5959 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4136, allocations: 1.375 kB / 0.5959 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.4136, allocations: 11.59 kB / 0.596 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4136, allocations: 2.062 kB / 0.596 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4136, allocations: 0 / 0.596 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4147, allocations: 0.6455 MB / 0.5966 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.4148, allocations: 112.1 kB / 0.5967 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.4149, allocations: 4.5 kB / 0.5967 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4151, allocations: 43.55 kB / 0.5967 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.4152, allocations: 22.16 kB / 0.5968 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.4153, allocations: 9.281 kB / 0.5968 GB, free: 11.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.4156, allocations: 272.4 kB / 0.597 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.878e-06/0.4156, allocations: 0 / 0.597 GB, free: 11.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.4161, allocations: 114.7 kB / 0.5971 GB, free: 11.82 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.0002866/0.4164, allocations: 161.2 kB / 0.5973 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.4177, allocations: 0.8656 MB / 0.5981 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4177, allocations: 0 / 0.5981 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.4184, allocations: 398.5 kB / 0.5985 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.4189, allocations: 62.8 kB / 0.5986 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4202, allocations: 0.7306 MB / 0.5993 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.4207, allocations: 0.7846 MB / 0.6001 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.4208, allocations: 31 kB / 0.6001 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.4208, allocations: 16.75 kB / 0.6001 GB, free: 9.652 MB / 446.1 MB Notification: Performance of SimCode: time 2.444e-06/0.4208, allocations: 0 / 0.6001 GB, free: 9.652 MB / 446.1 MB Notification: Performance of Templates: time 0.01045/0.4313, allocations: 5.415 MB / 0.6054 GB, free: 7.031 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)