Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7668/0.7668, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.579/1.579, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.001071/0.001071, allocations: 82.05 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.931e-05, allocations: 3.938 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1698, allocations: 82.3 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.004, allocations: 2.166 GB / 2.806 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/6.005, allocations: 99.41 kB / 2.806 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.75/24.76, allocations: 4.511 GB / 7.317 GB, free: 50.86 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.875e-06/24.76, allocations: 0 / 7.317 GB, free: 50.86 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001976/24.76, allocations: 199.2 kB / 7.318 GB, free: 50.83 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.02746/24.79, allocations: 8.024 MB / 7.325 GB, free: 46.78 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/24.79, allocations: 10.31 kB / 7.325 GB, free: 46.78 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002733/24.79, allocations: 0.5785 MB / 7.326 GB, free: 46.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009033/24.8, allocations: 1.498 MB / 7.327 GB, free: 46.22 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03116/24.83, allocations: 9.794 MB / 7.337 GB, free: 44.97 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006245/24.83, allocations: 362.3 kB / 7.337 GB, free: 44.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/24.83, allocations: 486.7 kB / 7.338 GB, free: 44.95 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/24.85, allocations: 5.551 MB / 7.343 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/24.85, allocations: 8.719 kB / 7.343 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/24.85, allocations: 186 kB / 7.343 GB, free: 44.38 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/24.85, allocations: 161.9 kB / 7.344 GB, free: 44.37 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/24.86, allocations: 4.312 MB / 7.348 GB, free: 44.32 MB / 0.9011 GB Warning: The model contains alias variables with conflicting start and/or 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.05542/24.92, allocations: 25.15 MB / 7.372 GB, free: 35.02 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/24.92, allocations: 2.797 MB / 7.375 GB, free: 34.96 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/24.93, allocations: 1.828 MB / 7.377 GB, free: 34.95 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01842/24.94, allocations: 8.312 MB / 7.385 GB, free: 31.55 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/24.94, allocations: 59.91 kB / 7.385 GB, free: 31.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005215/24.95, allocations: 428.1 kB / 7.385 GB, free: 31.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=214): time 1.989e-05/24.95, allocations: 3.406 kB / 7.385 GB, free: 31.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=214): time 0.009515/24.96, allocations: 4.295 MB / 7.39 GB, free: 30.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/24.96, allocations: 422.3 kB / 7.39 GB, free: 30.05 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01965/24.98, allocations: 7.272 MB / 7.397 GB, free: 29.55 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/24.98, allocations: 86.94 kB / 7.397 GB, free: 29.52 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005266/24.99, allocations: 3.751 MB / 7.401 GB, free: 28.66 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/24.99, allocations: 0.7186 MB / 7.402 GB, free: 28.21 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007802/24.99, allocations: 64 kB / 7.402 GB, free: 28.21 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003644/24.99, allocations: 436.8 kB / 7.402 GB, free: 27.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/24.99, allocations: 2.074 MB / 7.404 GB, free: 27.89 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004591/25, allocations: 3.388 MB / 7.407 GB, free: 26.44 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/25, allocations: 3.068 MB / 7.41 GB, free: 25.63 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/25, allocations: 9.188 kB / 7.41 GB, free: 25.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01407/25.02, allocations: 6.715 MB / 7.417 GB, free: 24.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004207/25.02, allocations: 15.84 MB / 7.432 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/25.02, allocations: 26.81 kB / 7.432 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/25.02, allocations: 50.56 kB / 7.432 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/25.02, allocations: 0.6694 MB / 7.433 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.681e-05/25.02, allocations: 60.05 kB / 7.433 GB, free: 24.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007064/25.03, allocations: 453.8 kB / 7.434 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009298/25.03, allocations: 215.5 kB / 7.434 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/25.03, allocations: 6.891 kB / 7.434 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/25.04, allocations: 6.782 MB / 7.44 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/25.04, allocations: 31.06 kB / 7.44 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.301e-05/25.04, allocations: 48.59 kB / 7.441 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/25.04, allocations: 0.6643 MB / 7.441 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.313e-05/25.04, allocations: 57.97 kB / 7.441 GB, free: 23.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/25.05, allocations: 435.7 kB / 7.442 GB, free: 23.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008298/25.05, allocations: 207.8 kB / 7.442 GB, free: 23.37 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 339 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001767/25.06, allocations: 0.674 MB / 7.442 GB, free: 22.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002711/25.06, allocations: 0.739 MB / 7.443 GB, free: 22.47 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/25.07, allocations: 4.998 MB / 7.448 GB, free: 21.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/25.07, allocations: 26.33 kB / 7.448 GB, free: 21.89 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/25.07, allocations: 5.828 kB / 7.448 GB, free: 21.89 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005406/25.07, allocations: 4.025 MB / 7.452 GB, free: 21.23 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.02894/25.1, allocations: 11.41 MB / 7.463 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/25.1, allocations: 4.656 kB / 7.463 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/25.11, allocations: 425.3 kB / 7.464 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.202e-05/25.11, allocations: 17.88 kB / 7.464 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003747/25.11, allocations: 80.23 kB / 7.464 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.044e-05/25.11, allocations: 10.81 kB / 7.464 GB, free: 20.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/25.11, allocations: 20.94 kB / 7.464 GB, free: 20.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/25.12, allocations: 8.594 MB / 7.472 GB, free: 17.69 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005826/25.13, allocations: 1.441 MB / 7.474 GB, free: 17.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002881/25.13, allocations: 68.31 kB / 7.474 GB, free: 17.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006034/25.13, allocations: 348.5 kB / 7.474 GB, free: 17.17 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006575/25.14, allocations: 298.7 kB / 7.474 GB, free: 17.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004872/25.14, allocations: 119.1 kB / 7.474 GB, free: 17.16 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0145/25.15, allocations: 5.572 MB / 7.48 GB, free: 16.88 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.52e-07/25.15, allocations: 0 / 7.48 GB, free: 16.88 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02042/25.17, allocations: 3.902 MB / 7.484 GB, free: 16.43 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02601/25.2, allocations: 17.03 MB / 7.5 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01598/25.21, allocations: 11.36 MB / 7.511 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/25.21, allocations: 1 kB / 7.511 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/25.22, allocations: 3.636 MB / 7.515 GB, free: 21.61 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02115/25.24, allocations: 3.768 MB / 7.519 GB, free: 21.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05002/25.29, allocations: 12.83 MB / 7.531 GB, free: 17.13 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/25.29, allocations: 4.163 MB / 7.535 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01364/25.31, allocations: 2.665 MB / 7.538 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005551/25.31, allocations: 3.344 MB / 7.541 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of SimCode: time 1.062e-06/25.31, allocations: 0 / 7.541 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/26.54, allocations: 289.4 MB / 7.824 GB, free: 45.69 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001338/26.54, allocations: 205.2 kB / 7.824 GB, free: 45.47 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/41.9, allocations: 0 / 7.824 GB, free: 45.47 MB / 0.9323 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)