Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8155/0.8155, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 184.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008851/0.0008849, allocations: 87.23 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.146e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1732, allocations: 76.76 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.023/6.196, allocations: 2.449 GB / 3.077 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/6.196, allocations: 103.9 kB / 3.078 GB, free: 124 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.97/24.16, allocations: 4.352 GB / 7.429 GB, free: 53.48 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/24.16, allocations: 0 / 7.429 GB, free: 53.48 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001676/24.17, allocations: 193.3 kB / 7.429 GB, free: 53.45 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.02545/24.19, allocations: 8.118 MB / 7.437 GB, free: 49.14 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/24.19, allocations: 13.72 kB / 7.437 GB, free: 49.14 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003191/24.19, allocations: 0.6039 MB / 7.438 GB, free: 49.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/24.2, allocations: 1.513 MB / 7.439 GB, free: 48.57 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.046/24.25, allocations: 17.88 MB / 7.457 GB, free: 46.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/24.25, allocations: 370.6 kB / 7.457 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/24.25, allocations: 494.3 kB / 7.458 GB, free: 46.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/24.27, allocations: 5.871 MB / 7.463 GB, free: 46.16 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003202/24.27, allocations: 11.52 kB / 7.463 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/24.28, allocations: 196.3 kB / 7.464 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/24.28, allocations: 175.6 kB / 7.464 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/24.29, allocations: 4.548 MB / 7.468 GB, free: 45.84 MB / 0.8698 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.05097/24.34, allocations: 26.62 MB / 7.494 GB, free: 27.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006064/24.35, allocations: 2.856 MB / 7.497 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/24.35, allocations: 1.742 MB / 7.499 GB, free: 26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/24.37, allocations: 7.146 MB / 7.506 GB, free: 20.54 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/24.37, allocations: 64.56 kB / 7.506 GB, free: 20.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004621/24.37, allocations: 454.9 kB / 7.506 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 1.11e-05/24.37, allocations: 0 / 7.506 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=198): time 0.0097/24.38, allocations: 4.329 MB / 7.51 GB, free: 16.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/24.38, allocations: 421.4 kB / 7.511 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01778/24.4, allocations: 7.306 MB / 7.518 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000717/24.4, allocations: 85.7 kB / 7.518 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004584/24.4, allocations: 3.9 MB / 7.522 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000835/24.4, allocations: 0.6759 MB / 7.522 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/24.4, allocations: 68 kB / 7.523 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002774/24.41, allocations: 441.3 kB / 7.523 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/24.41, allocations: 2.095 MB / 7.525 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7941/25.2, allocations: 3.515 MB / 7.528 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005542/25.21, allocations: 3.112 MB / 7.531 GB, free: 59.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/25.21, allocations: 10.75 kB / 7.531 GB, free: 59.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01316/25.22, allocations: 6.88 MB / 7.538 GB, free: 58.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00418/25.23, allocations: 19.49 MB / 7.557 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/25.23, allocations: 38.5 kB / 7.557 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000126/25.23, allocations: 57.78 kB / 7.557 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/25.23, allocations: 0.726 MB / 7.558 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001028/25.23, allocations: 75.73 kB / 7.558 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008156/25.24, allocations: 471.3 kB / 7.559 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/25.24, allocations: 219.3 kB / 7.559 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/25.24, allocations: 3.938 kB / 7.559 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0123/25.25, allocations: 6.915 MB / 7.566 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001366/25.25, allocations: 34.03 kB / 7.566 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.59e-05/25.25, allocations: 56.28 kB / 7.566 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/25.25, allocations: 0.7048 MB / 7.566 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.276e-05/25.25, allocations: 73.48 kB / 7.566 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007475/25.26, allocations: 428.7 kB / 7.567 GB, free: 37.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/25.26, allocations: 207 kB / 7.567 GB, free: 37.32 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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 (391): * Single equations (assignments): 363 * 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.001427/25.26, allocations: 0.6922 MB / 7.568 GB, free: 36.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002439/25.27, allocations: 0.7413 MB / 7.568 GB, free: 36.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00988/25.28, allocations: 4.729 MB / 7.573 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/25.28, allocations: 19.72 kB / 7.573 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/25.28, allocations: 0 / 7.573 GB, free: 36.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005084/25.28, allocations: 3.786 MB / 7.577 GB, free: 35.46 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02296/25.3, allocations: 10.69 MB / 7.587 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/25.3, allocations: 8.25 kB / 7.587 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/25.31, allocations: 402.3 kB / 7.588 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/25.31, allocations: 11.78 kB / 7.588 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/25.31, allocations: 75.12 kB / 7.588 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/25.31, allocations: 14.28 kB / 7.588 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/25.31, allocations: 8.344 kB / 7.588 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/25.32, allocations: 7.982 MB / 7.595 GB, free: 32.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004733/25.32, allocations: 1.384 MB / 7.597 GB, free: 31.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/25.32, allocations: 64.58 kB / 7.597 GB, free: 31.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/25.33, allocations: 330.2 kB / 7.597 GB, free: 31.74 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005509/25.33, allocations: 283.4 kB / 7.597 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/25.33, allocations: 106.5 kB / 7.598 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01454/25.34, allocations: 5.639 MB / 7.603 GB, free: 31.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.11e-07/25.34, allocations: 1.125 kB / 7.603 GB, free: 31.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02742/25.37, allocations: 3.871 MB / 7.607 GB, free: 31.29 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (198): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 4 * 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.03593/25.41, allocations: 16.32 MB / 7.623 GB, free: 25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02173/25.43, allocations: 11.37 MB / 7.634 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/25.43, allocations: 1.75 kB / 7.634 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005819/25.43, allocations: 3.305 MB / 7.637 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02166/25.46, allocations: 3.85 MB / 7.641 GB, free: 37.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/25.49, allocations: 12.64 MB / 7.653 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/25.49, allocations: 4.177 MB / 7.657 GB, free: 33.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01263/25.5, allocations: 2.698 MB / 7.66 GB, free: 33.46 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004263/25.51, allocations: 3.36 MB / 7.663 GB, free: 33.45 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/25.51, allocations: 0 / 7.663 GB, free: 33.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/26.87, allocations: 291.1 MB / 7.947 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/26.87, allocations: 228.7 kB / 7.948 GB, free: 120.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/42.8, allocations: 1.031 kB / 7.948 GB, free: 120.9 MB / 0.9323 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)