Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 190.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008598, allocations: 98.41 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.383e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.013/7.264, allocations: 2.461 GB / 3.353 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/7.265, allocations: 98.56 kB / 3.353 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.168/11.43, allocations: 1.206 GB / 4.558 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.633e-06/11.43, allocations: 0 / 4.558 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000438/11.43, allocations: 91.91 kB / 4.558 GB, free: 9.703 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.009386/11.44, allocations: 3.626 MB / 4.562 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/11.44, allocations: 8.031 kB / 4.562 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008304/11.44, allocations: 287.1 kB / 4.562 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/11.45, allocations: 0.549 MB / 4.563 GB, free: 5.078 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008394/11.46, allocations: 3.396 MB / 4.566 GB, free: 1.617 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/11.46, allocations: 164 kB / 4.566 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007188/11.46, allocations: 228 kB / 4.567 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5918/12.05, allocations: 2.509 MB / 4.569 GB, free: 97.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/12.05, allocations: 5.938 kB / 4.569 GB, free: 97.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/12.05, allocations: 86.06 kB / 4.569 GB, free: 97.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.281e-05/12.05, allocations: 73.92 kB / 4.569 GB, free: 97.41 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00379/12.05, allocations: 1.928 MB / 4.571 GB, free: 97.39 MB / 0.9167 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.01574/12.07, allocations: 10.48 MB / 4.581 GB, free: 94.23 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/12.07, allocations: 1.456 MB / 4.583 GB, free: 94.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/12.07, allocations: 0.9865 MB / 4.584 GB, free: 94.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008181/12.07, allocations: 1.178 MB / 4.585 GB, free: 92.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/12.07, allocations: 54.59 kB / 4.585 GB, free: 92.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 4.729e-06/12.07, allocations: 0 / 4.585 GB, free: 92.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=134): time 0.01024/12.08, allocations: 5.315 MB / 4.59 GB, free: 91.36 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/12.08, allocations: 347.5 kB / 4.59 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005256/12.09, allocations: 3.049 MB / 4.593 GB, free: 90.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003923/12.09, allocations: 58.8 kB / 4.593 GB, free: 90.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/12.09, allocations: 1.479 MB / 4.595 GB, free: 90.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/12.09, allocations: 456.9 kB / 4.595 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.695e-05/12.09, allocations: 30.12 kB / 4.595 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000117/12.09, allocations: 368.5 kB / 4.596 GB, free: 89.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/12.09, allocations: 1.036 MB / 4.597 GB, free: 89.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/12.09, allocations: 1.476 MB / 4.598 GB, free: 89.48 MB / 0.9167 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.009425/12.1, allocations: 4.184 MB / 4.602 GB, free: 88.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/12.1, allocations: 1.406 kB / 4.602 GB, free: 88.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00703/12.11, allocations: 3.265 MB / 4.605 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007281/12.11, allocations: 2.934 MB / 4.608 GB, free: 84.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/12.11, allocations: 6.656 kB / 4.608 GB, free: 84.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000564/12.11, allocations: 156.7 kB / 4.608 GB, free: 84.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/12.11, allocations: 266 kB / 4.609 GB, free: 84.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008159/12.11, allocations: 1.285 MB / 4.61 GB, free: 83.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/12.12, allocations: 212.8 kB / 4.61 GB, free: 83.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/12.12, allocations: 91.53 kB / 4.61 GB, free: 83.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/12.12, allocations: 6.969 kB / 4.61 GB, free: 83.85 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005373/12.12, allocations: 3.337 MB / 4.613 GB, free: 83.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/12.12, allocations: 7.75 kB / 4.613 GB, free: 83.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/12.12, allocations: 155.2 kB / 4.614 GB, free: 83.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/12.12, allocations: 268.4 kB / 4.614 GB, free: 83.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/12.13, allocations: 1.288 MB / 4.615 GB, free: 82.36 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/12.13, allocations: 206.5 kB / 4.615 GB, free: 82.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004705/12.13, allocations: 83.95 kB / 4.615 GB, free: 82.36 MB / 0.9167 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: 26 * 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 (159): * Single equations (assignments): 145 * 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.0007703/12.13, allocations: 389.2 kB / 4.616 GB, free: 82.06 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/12.13, allocations: 329.8 kB / 4.616 GB, free: 81.89 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/12.14, allocations: 2.466 MB / 4.619 GB, free: 81.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/12.14, allocations: 14.17 kB / 4.619 GB, free: 81.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/12.14, allocations: 3.844 kB / 4.619 GB, free: 81.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002712/12.14, allocations: 2.214 MB / 4.621 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/12.15, allocations: 5.906 MB / 4.626 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/12.15, allocations: 3 kB / 4.626 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001796/12.15, allocations: 263.8 kB / 4.627 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.636e-05/12.15, allocations: 9.375 kB / 4.627 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/12.16, allocations: 44.11 kB / 4.627 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/12.16, allocations: 11.27 kB / 4.627 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/12.16, allocations: 14.8 kB / 4.627 GB, free: 80.37 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008032/12.16, allocations: 4.578 MB / 4.631 GB, free: 78.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00394/12.17, allocations: 0.7131 MB / 4.632 GB, free: 78.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002113/12.17, allocations: 46.16 kB / 4.632 GB, free: 78.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/12.17, allocations: 167.1 kB / 4.632 GB, free: 78.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/12.17, allocations: 163.3 kB / 4.632 GB, free: 78.65 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/12.18, allocations: 57.55 kB / 4.632 GB, free: 78.65 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006416/12.18, allocations: 2.362 MB / 4.635 GB, free: 78.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.51e-07/12.18, allocations: 6.609 kB / 4.635 GB, free: 78.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008902/12.19, allocations: 1.512 MB / 4.636 GB, free: 78.49 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * 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.01454/12.21, allocations: 9.067 MB / 4.645 GB, free: 74.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009838/12.22, allocations: 5.603 MB / 4.65 GB, free: 73.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/12.22, allocations: 8 kB / 4.651 GB, free: 73.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/12.22, allocations: 1.868 MB / 4.652 GB, free: 72.64 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/12.23, allocations: 1.626 MB / 4.654 GB, free: 72.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/12.25, allocations: 6.074 MB / 4.66 GB, free: 71.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002414/12.25, allocations: 2.155 MB / 4.662 GB, free: 70.55 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007148/12.26, allocations: 1.062 MB / 4.663 GB, free: 70.51 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002578/12.26, allocations: 1.288 MB / 4.664 GB, free: 70.51 MB / 0.9167 GB Notification: Performance of SimCode: time 9.72e-07/12.26, allocations: 1.219 kB / 4.664 GB, free: 70.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/12.52, allocations: 136.9 MB / 4.798 GB, free: 63.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/12.52, allocations: 246.4 kB / 4.798 GB, free: 63.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/19.28, allocations: 0 / 4.798 GB, free: 63.26 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)