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.7826/0.7826, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 185.5 kB / 173.8 MB, free: 6.109 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.782/1.782, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009915/0.0009912, allocations: 98.58 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003649, allocations: 13.25 kB / 0.5604 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 76.76 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.01/6.183, allocations: 2.449 GB / 3.085 GB, free: 99.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/6.184, allocations: 114.9 kB / 3.085 GB, free: 99.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 16.11/22.29, allocations: 4.364 GB / 7.449 GB, free: 54.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.814e-06/22.29, allocations: 0 / 7.449 GB, free: 54.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001433/22.29, allocations: 195.5 kB / 7.449 GB, free: 54.82 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.03049/22.32, allocations: 10.29 MB / 7.459 GB, free: 49.59 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/22.32, allocations: 13.81 kB / 7.459 GB, free: 49.59 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002785/22.33, allocations: 0.6064 MB / 7.46 GB, free: 49.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008447/22.34, allocations: 1.513 MB / 7.461 GB, free: 49.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04321/22.38, allocations: 18.04 MB / 7.479 GB, free: 47.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005341/22.38, allocations: 374.9 kB / 7.479 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/22.38, allocations: 488.3 kB / 7.48 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/22.4, allocations: 6.074 MB / 7.485 GB, free: 45.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002385/22.4, allocations: 11.78 kB / 7.485 GB, free: 45.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/22.4, allocations: 195.9 kB / 7.486 GB, free: 45.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/22.4, allocations: 180.9 kB / 7.486 GB, free: 45.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01336/22.42, allocations: 4.855 MB / 7.491 GB, free: 43.28 MB / 0.8698 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.04771/22.46, allocations: 26.64 MB / 7.517 GB, free: 23.52 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006852/22.47, allocations: 3.074 MB / 7.52 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01623/22.49, allocations: 7.111 MB / 7.527 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/22.49, allocations: 64.52 kB / 7.527 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004659/22.49, allocations: 427 kB / 7.527 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 9.228e-06/22.49, allocations: 4 kB / 7.527 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=198): time 0.01479/22.51, allocations: 7.087 MB / 7.534 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/22.51, allocations: 413.8 kB / 7.534 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6668/23.17, allocations: 7.399 MB / 7.542 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009834/23.18, allocations: 83.8 kB / 7.542 GB, free: 60.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005354/23.18, allocations: 3.901 MB / 7.545 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/23.18, allocations: 0.6761 MB / 7.546 GB, free: 60.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/23.18, allocations: 68.72 kB / 7.546 GB, free: 60.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002443/23.18, allocations: 444.3 kB / 7.547 GB, free: 60.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/23.19, allocations: 2.226 MB / 7.549 GB, free: 60.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005081/23.19, allocations: 3.664 MB / 7.552 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/23.2, allocations: 3.233 MB / 7.555 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/23.2, allocations: 9.688 kB / 7.555 GB, free: 57.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01246/23.21, allocations: 7.149 MB / 7.562 GB, free: 56.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003654/23.21, allocations: 19.49 MB / 7.581 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-05/23.21, allocations: 34.75 kB / 7.582 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.941e-05/23.21, allocations: 58.34 kB / 7.582 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/23.22, allocations: 0.7252 MB / 7.582 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.672e-05/23.22, allocations: 73.34 kB / 7.582 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/23.22, allocations: 471.2 kB / 7.583 GB, free: 36.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/23.23, allocations: 216.5 kB / 7.583 GB, free: 36.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/23.23, allocations: 5.281 kB / 7.583 GB, free: 36.03 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01636/23.24, allocations: 7.163 MB / 7.59 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/23.24, allocations: 33.34 kB / 7.59 GB, free: 35.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.793e-05/23.24, allocations: 60.14 kB / 7.59 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/23.25, allocations: 0.704 MB / 7.591 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.29e-05/23.25, allocations: 74.72 kB / 7.591 GB, free: 35.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007732/23.25, allocations: 430.6 kB / 7.591 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/23.25, allocations: 212.2 kB / 7.591 GB, free: 35.18 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 () * Number of clocked 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.008535/23.26, allocations: 2.325 MB / 7.594 GB, free: 34.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004124/23.27, allocations: 0.7378 MB / 7.594 GB, free: 34.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/23.28, allocations: 4.961 MB / 7.599 GB, free: 33.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/23.28, allocations: 26.34 kB / 7.599 GB, free: 33.65 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/23.28, allocations: 4.406 kB / 7.599 GB, free: 33.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006928/23.29, allocations: 4.018 MB / 7.603 GB, free: 32.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/23.32, allocations: 10.93 MB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/23.32, allocations: 8.844 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/23.32, allocations: 396.1 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.795e-05/23.32, allocations: 14.25 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004576/23.32, allocations: 71.55 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-05/23.32, allocations: 13.5 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/23.32, allocations: 7.281 kB / 7.614 GB, free: 31.96 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/23.34, allocations: 8.336 MB / 7.623 GB, free: 29.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00781/23.35, allocations: 1.389 MB / 7.624 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004496/23.35, allocations: 61.19 kB / 7.624 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009477/23.36, allocations: 329 kB / 7.624 GB, free: 29.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/23.36, allocations: 278.2 kB / 7.625 GB, free: 29.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001041/23.36, allocations: 105.7 kB / 7.625 GB, free: 29.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01982/23.38, allocations: 5.73 MB / 7.63 GB, free: 29.01 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.22e-07/23.38, allocations: 0 / 7.63 GB, free: 29.01 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0179/23.4, allocations: 3.877 MB / 7.634 GB, free: 28.85 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) * Number of clocked states: 0 () * 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.02398/23.43, allocations: 16.63 MB / 7.65 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01683/23.44, allocations: 11.45 MB / 7.661 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/23.44, allocations: 2.656 kB / 7.661 GB, free: 35.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004422/23.45, allocations: 3.42 MB / 7.665 GB, free: 34.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01984/23.47, allocations: 3.844 MB / 7.669 GB, free: 34.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05945/23.53, allocations: 43.32 MB / 7.711 GB, free: 18.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/23.54, allocations: 4.164 MB / 7.715 GB, free: 17.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0147/23.55, allocations: 1.621 MB / 7.717 GB, free: 17.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007949/23.56, allocations: 3.481 MB / 7.72 GB, free: 17.13 MB / 0.9011 GB Notification: Performance of SimCode: time 1.463e-06/23.56, allocations: 0 / 7.72 GB, free: 17.13 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/24.73, allocations: 267.6 MB / 7.981 GB, free: 103 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/24.73, allocations: 266.6 kB / 7.982 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/37.34, allocations: 4 kB / 7.982 GB, free: 102.6 MB / 0.9167 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)