Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.Examples.CoolingAndHeating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",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.7385/0.7385, allocations: 127.3 MB / 139.8 MB, free: 15.44 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.001373/0.001373, allocations: 184.8 kB / 169.7 MB, free: 1.734 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.673/1.673, allocations: 205.1 MB / 404.5 MB, free: 1.57 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.001031/0.001031, allocations: 86.41 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.911e-05, allocations: 8 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1533, allocations: 76.75 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.341/6.494, allocations: 2.417 GB / 3.045 GB, free: 159.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.495, allocations: 103.9 kB / 3.045 GB, free: 159.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.945/11.44, allocations: 1.223 GB / 4.268 GB, free: 56.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/11.44, allocations: 0 / 4.268 GB, free: 56.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006071/11.44, allocations: 85.83 kB / 4.268 GB, free: 56.22 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 549 * Number of variables: 549 Notification: Performance of Generate backend data structure: time 0.01028/11.45, allocations: 3.713 MB / 4.271 GB, free: 54.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/11.45, allocations: 11.8 kB / 4.272 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/11.45, allocations: 306.5 kB / 4.272 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/11.46, allocations: 0.5387 MB / 4.272 GB, free: 54.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/11.48, allocations: 7.8 MB / 4.28 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/11.48, allocations: 169.9 kB / 4.28 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009713/11.48, allocations: 233.8 kB / 4.28 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008224/11.49, allocations: 2.722 MB / 4.283 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/11.49, allocations: 6.531 kB / 4.283 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006387/11.49, allocations: 93.91 kB / 4.283 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/11.49, allocations: 84.44 kB / 4.283 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/11.49, allocations: 2.065 MB / 4.285 GB, free: 53.07 MB / 0.698 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.01746/11.51, allocations: 11.32 MB / 4.296 GB, free: 48.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/11.51, allocations: 1.409 MB / 4.298 GB, free: 48.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/11.51, allocations: 0.9239 MB / 4.299 GB, free: 48.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/11.51, allocations: 0.7629 MB / 4.299 GB, free: 47.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/11.51, allocations: 46.44 kB / 4.299 GB, free: 47.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=115): time 4.879e-06/11.51, allocations: 2.781 kB / 4.299 GB, free: 47.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.0101/11.52, allocations: 5.185 MB / 4.304 GB, free: 46.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/11.52, allocations: 343.7 kB / 4.305 GB, free: 46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/11.53, allocations: 3.11 MB / 4.308 GB, free: 45.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004791/11.53, allocations: 55.39 kB / 4.308 GB, free: 45.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/11.53, allocations: 1.604 MB / 4.309 GB, free: 45.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000601/11.53, allocations: 419.9 kB / 4.31 GB, free: 45.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/11.53, allocations: 37.5 kB / 4.31 GB, free: 45.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/11.53, allocations: 372.2 kB / 4.31 GB, free: 44.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/11.53, allocations: 1.044 MB / 4.311 GB, free: 44.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/11.53, allocations: 1.563 MB / 4.313 GB, free: 44.16 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/11.54, allocations: 4.157 MB / 4.317 GB, free: 43.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/11.54, allocations: 0 / 4.317 GB, free: 43.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005168/11.55, allocations: 3.356 MB / 4.32 GB, free: 42.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009299/11.55, allocations: 4.522 MB / 4.324 GB, free: 37.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/11.55, allocations: 10.09 kB / 4.324 GB, free: 37.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/11.55, allocations: 159.9 kB / 4.325 GB, free: 37.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/11.55, allocations: 299 kB / 4.325 GB, free: 37.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007786/11.55, allocations: 1.299 MB / 4.326 GB, free: 36.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/11.55, allocations: 222.3 kB / 4.326 GB, free: 36.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/11.55, allocations: 87.62 kB / 4.326 GB, free: 36.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/11.55, allocations: 2.875 kB / 4.326 GB, free: 36.87 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004211/11.56, allocations: 3.4 MB / 4.33 GB, free: 36.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/11.56, allocations: 10.91 kB / 4.33 GB, free: 36.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/11.56, allocations: 165.5 kB / 4.33 GB, free: 36.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/11.56, allocations: 274.4 kB / 4.33 GB, free: 36.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007337/11.56, allocations: 1.299 MB / 4.331 GB, free: 35.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/11.56, allocations: 187.1 kB / 4.332 GB, free: 35.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/11.56, allocations: 85.92 kB / 4.332 GB, free: 35.37 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006707/11.56, allocations: 396.3 kB / 4.332 GB, free: 35.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/11.56, allocations: 335.6 kB / 4.332 GB, free: 34.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/11.57, allocations: 2.333 MB / 4.335 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/11.57, allocations: 16.41 kB / 4.335 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/11.57, allocations: 0 / 4.335 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002628/11.57, allocations: 2.113 MB / 4.337 GB, free: 34.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/11.58, allocations: 5.488 MB / 4.342 GB, free: 33.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/11.58, allocations: 2.875 kB / 4.342 GB, free: 33.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/11.58, allocations: 242.5 kB / 4.342 GB, free: 33.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.814e-05/11.58, allocations: 6.25 kB / 4.342 GB, free: 33.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/11.58, allocations: 41.95 kB / 4.342 GB, free: 33.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/11.58, allocations: 15.2 kB / 4.342 GB, free: 33.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/11.58, allocations: 9 kB / 4.342 GB, free: 33.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/11.59, allocations: 4.096 MB / 4.346 GB, free: 32.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/11.59, allocations: 0.6885 MB / 4.347 GB, free: 32.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/11.59, allocations: 40.14 kB / 4.347 GB, free: 32.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/11.6, allocations: 170.8 kB / 4.347 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/11.6, allocations: 144.5 kB / 4.347 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/11.6, allocations: 53.42 kB / 4.348 GB, free: 32.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006509/11.6, allocations: 2.403 MB / 4.35 GB, free: 31.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/11.6, allocations: 0 / 4.35 GB, free: 31.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009353/11.61, allocations: 1.523 MB / 4.351 GB, free: 31.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (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) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 2 * 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.01156/11.62, allocations: 8.131 MB / 4.359 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007483/11.63, allocations: 5.612 MB / 4.365 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/11.63, allocations: 0 / 4.365 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/11.63, allocations: 1.602 MB / 4.366 GB, free: 26.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009585/11.64, allocations: 1.663 MB / 4.368 GB, free: 26.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/11.66, allocations: 6.014 MB / 4.374 GB, free: 25.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/11.67, allocations: 2.18 MB / 4.376 GB, free: 24.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.007204/11.67, allocations: 1.072 MB / 4.377 GB, free: 24.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/11.68, allocations: 1.334 MB / 4.378 GB, free: 24.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/11.68, allocations: 3.406 kB / 4.378 GB, free: 24.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8379/12.51, allocations: 139.4 MB / 4.514 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/12.51, allocations: 247 kB / 4.515 GB, free: 78.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/19.53, allocations: 0 / 4.515 GB, free: 78.21 MB / 0.7292 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)