Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001157, allocations: 176.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.756/1.756, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009479/0.0009478, allocations: 103.8 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.749e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3392, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.689/6.028, allocations: 2.184 GB / 3.39 GB, free: 114.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/6.029, allocations: 103.2 kB / 3.39 GB, free: 114.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.664/10.69, allocations: 1.242 GB / 4.632 GB, free: 172.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.204e-06/10.69, allocations: 0 / 4.632 GB, free: 172.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005102/10.69, allocations: 92.98 kB / 4.632 GB, free: 172.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01066/10.7, allocations: 3.626 MB / 4.636 GB, free: 170.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/10.7, allocations: 11.09 kB / 4.636 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/10.71, allocations: 0.534 MB / 4.636 GB, free: 170.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/10.72, allocations: 3.409 MB / 4.64 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/10.72, allocations: 71.72 kB / 4.64 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/10.72, allocations: 133.2 kB / 4.64 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003721/10.72, allocations: 1.817 MB / 4.642 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/10.73, allocations: 2.23 MB / 4.644 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/10.73, allocations: 1.375 kB / 4.644 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/10.73, allocations: 14.17 kB / 4.644 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-05/10.73, allocations: 72.8 kB / 4.644 GB, free: 165.8 MB / 1.167 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.01538/10.74, allocations: 10.05 MB / 4.654 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/10.74, allocations: 1.407 MB / 4.655 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/10.74, allocations: 0.9485 MB / 4.656 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/10.75, allocations: 1.18 MB / 4.657 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/10.75, allocations: 46.19 kB / 4.657 GB, free: 155.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.649e-06/10.75, allocations: 3.938 kB / 4.657 GB, free: 155.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01023/10.76, allocations: 4.654 MB / 4.662 GB, free: 152.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/10.76, allocations: 343 kB / 4.662 GB, free: 152.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/10.76, allocations: 2.623 MB / 4.665 GB, free: 150.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005885/10.76, allocations: 32.58 kB / 4.665 GB, free: 150.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/10.76, allocations: 1.49 MB / 4.666 GB, free: 149.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/10.76, allocations: 436.8 kB / 4.667 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/10.76, allocations: 3.781 kB / 4.667 GB, free: 149.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001182/10.76, allocations: 367.9 kB / 4.667 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/10.76, allocations: 1.008 MB / 4.668 GB, free: 148.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/10.77, allocations: 1.432 MB / 4.669 GB, free: 147.4 MB / 1.167 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.00643/10.77, allocations: 3.741 MB / 4.673 GB, free: 145.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/10.77, allocations: 5.531 kB / 4.673 GB, free: 145.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004915/10.78, allocations: 2.794 MB / 4.676 GB, free: 143.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006599/10.78, allocations: 2.885 MB / 4.679 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/10.78, allocations: 11.33 kB / 4.679 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/10.78, allocations: 136.2 kB / 4.679 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/10.78, allocations: 265.6 kB / 4.679 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008158/10.78, allocations: 1.3 MB / 4.68 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/10.78, allocations: 181.3 kB / 4.68 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/10.78, allocations: 86.03 kB / 4.681 GB, free: 139.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/10.78, allocations: 3.25 kB / 4.681 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004209/10.79, allocations: 2.701 MB / 4.683 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/10.79, allocations: 10.19 kB / 4.683 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/10.79, allocations: 148.7 kB / 4.683 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/10.79, allocations: 263.6 kB / 4.684 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007897/10.79, allocations: 1.299 MB / 4.685 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/10.79, allocations: 168.5 kB / 4.685 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/10.79, allocations: 83.92 kB / 4.685 GB, free: 135.9 MB / 1.167 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.0005867/10.79, allocations: 337.3 kB / 4.685 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00375/10.8, allocations: 2.036 MB / 4.687 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008816/10.8, allocations: 296.3 kB / 4.688 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/10.8, allocations: 2.161 MB / 4.69 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/10.8, allocations: 12 kB / 4.69 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/10.8, allocations: 5.547 kB / 4.69 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002554/10.81, allocations: 1.961 MB / 4.692 GB, free: 129 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/10.82, allocations: 5.37 MB / 4.697 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/10.82, allocations: 4 kB / 4.697 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/10.82, allocations: 257.8 kB / 4.697 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.387e-05/10.82, allocations: 12 kB / 4.697 GB, free: 123.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/10.82, allocations: 27.94 kB / 4.697 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/10.82, allocations: 24.16 kB / 4.697 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/10.82, allocations: 7.938 kB / 4.697 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/10.82, allocations: 4.15 MB / 4.701 GB, free: 118.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/10.83, allocations: 0.6806 MB / 4.702 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009504/10.83, allocations: 21.22 kB / 4.702 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/10.83, allocations: 142 kB / 4.702 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/10.83, allocations: 160.8 kB / 4.702 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/10.83, allocations: 66.27 kB / 4.702 GB, free: 117.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004123/10.83, allocations: 1.983 MB / 4.704 GB, free: 115.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.92e-07/10.83, allocations: 0 / 4.704 GB, free: 115.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007633/10.84, allocations: 1.38 MB / 4.706 GB, free: 114.4 MB / 1.167 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.medium.Xi[1],vol.dynBal.U,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.01066/10.85, allocations: 8.817 MB / 4.714 GB, free: 105.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006348/10.86, allocations: 5.461 MB / 4.72 GB, free: 100.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/10.86, allocations: 5.344 kB / 4.72 GB, free: 100.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/10.86, allocations: 1.831 MB / 4.721 GB, free: 98.19 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007821/10.87, allocations: 1.39 MB / 4.723 GB, free: 96.93 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/10.88, allocations: 5.899 MB / 4.729 GB, free: 91.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/10.89, allocations: 2.162 MB / 4.731 GB, free: 88.93 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004681/10.89, allocations: 0.9803 MB / 4.732 GB, free: 88.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/10.89, allocations: 1.288 MB / 4.733 GB, free: 86.75 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/10.89, allocations: 0 / 4.733 GB, free: 86.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1699/11.06, allocations: 103.2 MB / 4.834 GB, free: 1.242 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/11.06, allocations: 196.8 kB / 4.834 GB, free: 1.043 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.967/17.03, allocations: 3.094 kB / 4.834 GB, free: 1.043 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat does not exist to compare? outputFormat=mat