Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8078/0.8078, allocations: 143.3 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 171.1 kB / 191.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 447.7 MB, free: 6.566 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.0009496/0.0009494, allocations: 100.2 kB / 0.5188 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 272 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.000558, allocations: 16 kB / 0.6929 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4001, allocations: 82.79 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.56, allocations: 2.163 GB / 2.937 GB, free: 80.33 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/5.56, allocations: 108.2 kB / 2.937 GB, free: 80.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 18.12/23.68, allocations: 4.523 GB / 7.46 GB, free: 53.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.405e-06/23.68, allocations: 0 / 7.46 GB, free: 53.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001556/23.68, allocations: 191.3 kB / 7.46 GB, free: 53.79 MB / 0.9167 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.03386/23.71, allocations: 10.22 MB / 7.47 GB, free: 48.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/23.71, allocations: 6.844 kB / 7.47 GB, free: 48.67 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002964/23.72, allocations: 0.5812 MB / 7.471 GB, free: 48.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008968/23.73, allocations: 1.493 MB / 7.472 GB, free: 48.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02969/23.75, allocations: 9.813 MB / 7.482 GB, free: 46.85 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006297/23.76, allocations: 362.5 kB / 7.482 GB, free: 46.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/23.76, allocations: 480.7 kB / 7.483 GB, free: 46.83 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/23.77, allocations: 5.721 MB / 7.488 GB, free: 46.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/23.77, allocations: 5.75 kB / 7.488 GB, free: 46.26 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005928/23.77, allocations: 188.7 kB / 7.488 GB, free: 46.26 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/23.77, allocations: 169.9 kB / 7.489 GB, free: 46.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/23.79, allocations: 4.592 MB / 7.493 GB, free: 46.2 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 preOpt removeSimpleEquations (simulation): time 0.04613/23.83, allocations: 25.16 MB / 7.518 GB, free: 36.87 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/23.84, allocations: 2.99 MB / 7.52 GB, free: 36.82 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/23.85, allocations: 8.298 MB / 7.529 GB, free: 33.42 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/23.85, allocations: 64.97 kB / 7.529 GB, free: 33.38 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005148/23.86, allocations: 431.2 kB / 7.529 GB, free: 33.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=214): time 1.871e-05/23.86, allocations: 0 / 7.529 GB, free: 33.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=214): time 0.01514/23.87, allocations: 7.094 MB / 7.536 GB, free: 31.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000217/23.88, allocations: 414.7 kB / 7.536 GB, free: 30.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01642/23.89, allocations: 7.348 MB / 7.544 GB, free: 30.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/23.89, allocations: 87.33 kB / 7.544 GB, free: 30.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004574/23.9, allocations: 3.736 MB / 7.547 GB, free: 29.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001296/23.9, allocations: 0.7249 MB / 7.548 GB, free: 28.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/23.9, allocations: 62.06 kB / 7.548 GB, free: 28.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002327/23.9, allocations: 435.5 kB / 7.548 GB, free: 28.44 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003368/23.9, allocations: 2.197 MB / 7.551 GB, free: 27.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/23.91, allocations: 3.505 MB / 7.554 GB, free: 25.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003815/23.91, allocations: 3.176 MB / 7.557 GB, free: 23.41 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/23.91, allocations: 8.812 kB / 7.557 GB, free: 23.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01122/23.92, allocations: 6.936 MB / 7.564 GB, free: 20.27 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003118/23.92, allocations: 15.83 MB / 7.579 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-05/23.92, allocations: 24.31 kB / 7.579 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.841e-05/23.93, allocations: 47.72 kB / 7.579 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/23.93, allocations: 0.6689 MB / 7.58 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.733e-05/23.93, allocations: 61.28 kB / 7.58 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007937/23.94, allocations: 453.8 kB / 7.581 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/23.94, allocations: 219.9 kB / 7.581 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/23.94, allocations: 4.125 kB / 7.581 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01005/23.95, allocations: 7.026 MB / 7.588 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/23.95, allocations: 31.19 kB / 7.588 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.116e-05/23.95, allocations: 47.34 kB / 7.588 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/23.95, allocations: 0.6579 MB / 7.588 GB, free: 492 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.419e-05/23.95, allocations: 68.34 kB / 7.588 GB, free: 480 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007703/23.96, allocations: 441.3 kB / 7.589 GB, free: 396 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008793/23.96, allocations: 207.2 kB / 7.589 GB, free: 364 kB / 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.008474/23.97, allocations: 2.447 MB / 7.591 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002792/23.97, allocations: 0.739 MB / 7.592 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/23.98, allocations: 5.226 MB / 7.597 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/23.98, allocations: 27.03 kB / 7.597 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/23.98, allocations: 3.188 kB / 7.597 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006172/23.99, allocations: 4.253 MB / 7.601 GB, free: 10.71 MB / 0.9323 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.02686/24.01, allocations: 11.6 MB / 7.613 GB, free: 4.695 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/24.01, allocations: 4 kB / 7.613 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/24.02, allocations: 434.2 kB / 7.613 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-05/24.02, allocations: 12 kB / 7.613 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/24.02, allocations: 81.83 kB / 7.613 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.896e-05/24.02, allocations: 12 kB / 7.613 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/24.02, allocations: 15.94 kB / 7.613 GB, free: 4.234 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8453/24.86, allocations: 8.917 MB / 7.622 GB, free: 82.88 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006272/24.87, allocations: 1.44 MB / 7.623 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003107/24.87, allocations: 67.67 kB / 7.624 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006163/24.88, allocations: 347 kB / 7.624 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006899/24.88, allocations: 298.7 kB / 7.624 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003869/24.88, allocations: 122.5 kB / 7.624 GB, free: 82.78 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01436/24.89, allocations: 5.647 MB / 7.63 GB, free: 82.53 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.8e-07/24.89, allocations: 0 / 7.63 GB, free: 82.53 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02135/24.91, allocations: 3.904 MB / 7.634 GB, free: 82.53 MB / 0.9323 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.02723/24.94, allocations: 17.36 MB / 7.651 GB, free: 76.04 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01666/24.96, allocations: 11.42 MB / 7.662 GB, free: 72.98 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/24.96, allocations: 2.812 kB / 7.662 GB, free: 72.98 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005227/24.96, allocations: 3.748 MB / 7.665 GB, free: 72.23 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02287/24.99, allocations: 3.811 MB / 7.669 GB, free: 72.19 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/25.03, allocations: 38.74 MB / 7.707 GB, free: 44.27 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006171/25.04, allocations: 4.139 MB / 7.711 GB, free: 43.43 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01075/25.05, allocations: 1.627 MB / 7.713 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007703/25.06, allocations: 3.458 MB / 7.716 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of SimCode: time 1.343e-06/25.06, allocations: 0 / 7.716 GB, free: 43.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/26.19, allocations: 265.6 MB / 7.975 GB, free: 105 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/26.19, allocations: 261.5 kB / 7.976 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/40.04, allocations: 2.734 kB / 7.976 GB, free: 104.6 MB / 0.9792 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)