Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7269/0.7269, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 403.4 MB, free: 7.105 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009666, allocations: 110 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 80.22 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03731/0.1906, allocations: 41.7 MB / 0.6809 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.2021, allocations: 8.986 MB / 0.6897 GB, free: 3.898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.2035, allocations: 39.75 kB / 0.6897 GB, free: 3.859 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2052, allocations: 489.4 kB / 0.6902 GB, free: 3.379 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2083, allocations: 1.163 MB / 0.6913 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.2111, allocations: 1.038 MB / 0.6924 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.3311/0.5422, allocations: 3.358 MB / 0.6956 GB, free: 21.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.544, allocations: 0.77 MB / 0.6964 GB, free: 21.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.5464, allocations: 0.8833 MB / 0.6972 GB, free: 21.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.5481, allocations: 0.7265 MB / 0.698 GB, free: 21.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.5485, allocations: 56.25 kB / 0.698 GB, free: 21.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.5514, allocations: 1.074 MB / 0.6991 GB, free: 21.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.5519, allocations: 267.1 kB / 0.6993 GB, free: 21.26 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.553, allocations: 0.5695 MB / 0.6999 GB, free: 21.08 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003578/0.5566, allocations: 2.279 MB / 0.7021 GB, free: 20.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5566, allocations: 0 / 0.7021 GB, free: 20.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5566, allocations: 1.469 kB / 0.7021 GB, free: 20.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.5566, allocations: 0 / 0.7021 GB, free: 20.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002747/0.5594, allocations: 1.733 MB / 0.7038 GB, free: 19.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5594, allocations: 9.375 kB / 0.7038 GB, free: 19.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.5597, allocations: 130.1 kB / 0.7039 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.5614, allocations: 1.071 MB / 0.705 GB, free: 19.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.5615, allocations: 55.83 kB / 0.705 GB, free: 19.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5616, allocations: 69.75 kB / 0.7051 GB, free: 19.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5629, allocations: 0.804 MB / 0.7059 GB, free: 19.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5629, allocations: 0.875 kB / 0.7059 GB, free: 19.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.563, allocations: 30.88 kB / 0.7059 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.563, allocations: 16.2 kB / 0.7059 GB, free: 19.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5641, allocations: 0.6103 MB / 0.7065 GB, free: 19.32 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.5682, allocations: 3.209 MB / 0.7096 GB, free: 18.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.5689, allocations: 461 kB / 0.7101 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.5694, allocations: 311.4 kB / 0.7104 GB, free: 18.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.57, allocations: 0.7748 MB / 0.7111 GB, free: 17.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5701, allocations: 35.69 kB / 0.7112 GB, free: 17.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.856e-06/0.5701, allocations: 0 / 0.7112 GB, free: 17.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.001677/0.5718, allocations: 0.9965 MB / 0.7121 GB, free: 16.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.5718, allocations: 143 kB / 0.7123 GB, free: 16.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.5737, allocations: 1.076 MB / 0.7133 GB, free: 16.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.5737, allocations: 33.58 kB / 0.7134 GB, free: 16.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.5742, allocations: 473.8 kB / 0.7138 GB, free: 16.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.5744, allocations: 128.3 kB / 0.7139 GB, free: 16.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.5746, allocations: 111.9 kB / 0.714 GB, free: 16.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.5747, allocations: 324.8 kB / 0.7144 GB, free: 16.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.5754, allocations: 357.8 kB / 0.7147 GB, free: 16.03 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.5763, allocations: 448.4 kB / 0.7151 GB, free: 15.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.5777, allocations: 0.9679 MB / 0.7161 GB, free: 15.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5777, allocations: 5.125 kB / 0.7161 GB, free: 15.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001974/0.5797, allocations: 1.104 MB / 0.7172 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.539e-05/0.5798, allocations: 186.7 kB / 0.7173 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5798, allocations: 2.75 kB / 0.7173 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5798, allocations: 8.062 kB / 0.7173 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.5803, allocations: 93.89 kB / 0.7174 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5803, allocations: 4.125 kB / 0.7174 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000975/0.5813, allocations: 108.1 kB / 0.7175 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.5814, allocations: 28.12 kB / 0.7176 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001087/0.5825, allocations: 0.5915 MB / 0.7181 GB, free: 14.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007329/0.5833, allocations: 454.2 kB / 0.7186 GB, free: 14.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001344/0.5846, allocations: 0.968 MB / 0.7195 GB, free: 14.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.5846, allocations: 1.094 kB / 0.7195 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001868/0.5865, allocations: 1.104 MB / 0.7206 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.5866, allocations: 184 kB / 0.7208 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5866, allocations: 5.375 kB / 0.7208 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.5866, allocations: 7.438 kB / 0.7208 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.5871, allocations: 87.75 kB / 0.7209 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5871, allocations: 3.438 kB / 0.7209 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.5881, allocations: 82.53 kB / 0.721 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.729e-05/0.5882, allocations: 23.05 kB / 0.721 GB, free: 13.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * 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.0002247/0.5884, allocations: 303.3 kB / 0.7213 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.5886, allocations: 100.7 kB / 0.7214 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5905, allocations: 0.9159 MB / 0.7223 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5905, allocations: 8.594 kB / 0.7223 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5905, allocations: 0 / 0.7223 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/0.5921, allocations: 0.9818 MB / 0.7232 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.5958, allocations: 2.103 MB / 0.7253 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5959, allocations: 2.469 kB / 0.7253 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.5962, allocations: 61.33 kB / 0.7253 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5963, allocations: 5.609 kB / 0.7253 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.5963, allocations: 20.72 kB / 0.7254 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.5963, allocations: 4.828 kB / 0.7254 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5964, allocations: 10.28 kB / 0.7254 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.6114, allocations: 7.557 MB / 0.7328 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.6118, allocations: 278.2 kB / 0.733 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6119, allocations: 16.69 kB / 0.733 GB, free: 6.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.6124, allocations: 51.8 kB / 0.7331 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.6126, allocations: 58.55 kB / 0.7331 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.6126, allocations: 22.19 kB / 0.7332 GB, free: 6.441 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008897/0.6135, allocations: 0.7705 MB / 0.7339 GB, free: 6.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6135, allocations: 0 / 0.7339 GB, free: 6.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00219/0.6157, allocations: 0.8176 MB / 0.7347 GB, free: 5.938 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.0009285/0.6167, allocations: 440 kB / 0.7351 GB, free: 5.734 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.6186, allocations: 1.95 MB / 0.737 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6187, allocations: 0 / 0.737 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.6192, allocations: 0.5403 MB / 0.7376 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6214, allocations: 0.5018 MB / 0.7381 GB, free: 3.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.6241, allocations: 2.697 MB / 0.7407 GB, free: 1.809 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.6246, allocations: 1.082 MB / 0.7417 GB, free: 0.918 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000686/0.6253, allocations: 214.4 kB / 0.742 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6254, allocations: 76.52 kB / 0.742 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6255, allocations: 0 / 0.742 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of Templates: time 0.0379/0.6634, allocations: 26.04 MB / 0.7675 GB, free: 7.523 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)