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.009209/0.009209, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8749/0.8749, allocations: 135.2 MB / 151 MB, free: 13.8 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.603/1.603, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 101.4 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4459, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.419, allocations: 2.166 GB / 2.815 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/5.42, allocations: 105.2 kB / 2.815 GB, free: 22.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.76/24.17, allocations: 4.523 GB / 7.338 GB, free: 55.34 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.795e-06/24.17, allocations: 0 / 7.338 GB, free: 55.34 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.002095/24.18, allocations: 204.5 kB / 7.339 GB, free: 55.31 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.03877/24.22, allocations: 10.21 MB / 7.349 GB, free: 50.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/24.22, allocations: 10.53 kB / 7.349 GB, free: 50.43 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003231/24.22, allocations: 0.5785 MB / 7.349 GB, free: 50.37 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009939/24.23, allocations: 1.503 MB / 7.351 GB, free: 49.88 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03338/24.26, allocations: 9.868 MB / 7.36 GB, free: 48.62 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000639/24.26, allocations: 365.4 kB / 7.361 GB, free: 48.61 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/24.27, allocations: 485.4 kB / 7.361 GB, free: 48.61 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/24.29, allocations: 5.717 MB / 7.367 GB, free: 48.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/24.29, allocations: 10.22 kB / 7.367 GB, free: 48.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001808/24.29, allocations: 185.2 kB / 7.367 GB, free: 48.02 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/24.29, allocations: 172.1 kB / 7.367 GB, free: 48.01 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/24.3, allocations: 4.591 MB / 7.371 GB, free: 47.96 MB / 0.9011 GB 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.06061/24.36, allocations: 25.15 MB / 7.396 GB, free: 38.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006932/24.37, allocations: 2.996 MB / 7.399 GB, free: 38.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02058/24.39, allocations: 8.281 MB / 7.407 GB, free: 35.23 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.879e-05/24.39, allocations: 68 kB / 7.407 GB, free: 35.18 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004868/24.4, allocations: 421.9 kB / 7.407 GB, free: 35.02 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=214): time 1.883e-05/24.4, allocations: 0 / 7.407 GB, free: 35.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=214): time 0.01332/24.41, allocations: 7.092 MB / 7.414 GB, free: 33.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/24.41, allocations: 419.3 kB / 7.415 GB, free: 32.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/24.43, allocations: 7.362 MB / 7.422 GB, free: 32.09 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/24.43, allocations: 92.98 kB / 7.422 GB, free: 32.06 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00443/24.43, allocations: 3.74 MB / 7.426 GB, free: 31.21 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/24.43, allocations: 0.7305 MB / 7.426 GB, free: 30.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/24.43, allocations: 61.94 kB / 7.426 GB, free: 30.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002282/24.43, allocations: 436 kB / 7.427 GB, free: 30.45 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003518/24.44, allocations: 2.193 MB / 7.429 GB, free: 30.44 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/24.44, allocations: 3.498 MB / 7.432 GB, free: 28.99 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004424/24.45, allocations: 3.168 MB / 7.436 GB, free: 28.19 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/24.45, allocations: 11.64 kB / 7.436 GB, free: 28.19 MB / 0.9011 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.0131/24.46, allocations: 6.945 MB / 7.442 GB, free: 26.94 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.004186/24.46, allocations: 15.84 MB / 7.458 GB, free: 26.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-05/24.46, allocations: 28.06 kB / 7.458 GB, free: 26.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/24.46, allocations: 49.09 kB / 7.458 GB, free: 26.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/24.47, allocations: 0.6674 MB / 7.459 GB, free: 26.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.217e-05/24.47, allocations: 65.97 kB / 7.459 GB, free: 26.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008202/24.48, allocations: 447 kB / 7.459 GB, free: 26.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/24.48, allocations: 215.7 kB / 7.459 GB, free: 26.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/24.48, allocations: 3.5 kB / 7.459 GB, free: 26.79 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/24.49, allocations: 7.028 MB / 7.466 GB, free: 25.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/24.49, allocations: 36.08 kB / 7.466 GB, free: 25.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.493e-05/24.49, allocations: 44.34 kB / 7.466 GB, free: 25.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/24.49, allocations: 0.6601 MB / 7.467 GB, free: 25.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.956e-05/24.49, allocations: 64.98 kB / 7.467 GB, free: 25.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007745/24.5, allocations: 431.5 kB / 7.467 GB, free: 25.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/24.5, allocations: 206.4 kB / 7.467 GB, free: 25.93 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 () * Number of clocked 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.007425/24.51, allocations: 2.301 MB / 7.47 GB, free: 25.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003176/24.51, allocations: 0.7301 MB / 7.47 GB, free: 24.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/24.53, allocations: 5.225 MB / 7.476 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/24.53, allocations: 25.83 kB / 7.476 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/24.53, allocations: 0 / 7.476 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00717/24.53, allocations: 4.25 MB / 7.48 GB, free: 23.71 MB / 0.9167 GB 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 postOpt removeSimpleEquations (simulation): time 0.03453/24.57, allocations: 11.62 MB / 7.491 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.538e-05/24.57, allocations: 7.031 kB / 7.491 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/24.57, allocations: 426.9 kB / 7.491 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-05/24.57, allocations: 17.22 kB / 7.492 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004788/24.57, allocations: 75.25 kB / 7.492 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.291e-05/24.57, allocations: 23.02 kB / 7.492 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/24.57, allocations: 11.52 kB / 7.492 GB, free: 22.62 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/24.59, allocations: 8.925 MB / 7.5 GB, free: 20.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006583/24.59, allocations: 1.439 MB / 7.502 GB, free: 19.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00355/24.6, allocations: 67.14 kB / 7.502 GB, free: 19.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/24.6, allocations: 349.5 kB / 7.502 GB, free: 19.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009135/24.6, allocations: 301.2 kB / 7.502 GB, free: 19.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000667/24.61, allocations: 116.2 kB / 7.503 GB, free: 19.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01714/24.62, allocations: 5.661 MB / 7.508 GB, free: 19.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.022e-06/24.62, allocations: 2.406 kB / 7.508 GB, free: 19.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02306/24.65, allocations: 3.897 MB / 7.512 GB, free: 18.96 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) * Number of clocked states: 0 () * 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.03068/24.68, allocations: 17.33 MB / 7.529 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01826/24.69, allocations: 11.42 MB / 7.54 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/24.69, allocations: 2 kB / 7.54 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005941/24.7, allocations: 3.744 MB / 7.544 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02321/24.72, allocations: 3.768 MB / 7.547 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06035/24.78, allocations: 38.76 MB / 7.585 GB, free: 8.598 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009682/24.79, allocations: 4.147 MB / 7.589 GB, free: 7.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01193/24.81, allocations: 1.613 MB / 7.591 GB, free: 7.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008822/24.82, allocations: 3.465 MB / 7.594 GB, free: 4.25 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/24.82, allocations: 0 / 7.594 GB, free: 4.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/26.01, allocations: 264.8 MB / 7.853 GB, free: 69.98 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/26.01, allocations: 241.7 kB / 7.853 GB, free: 69.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/40.45, allocations: 4.062 kB / 7.853 GB, free: 69.74 MB / 0.948 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)