Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.302/2.302, allocations: 390.5 MB / 398 MB, free: 10.95 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.001195/0.001195, allocations: 180.6 kB / 491.2 MB, free: 1.59 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.558/1.558, allocations: 221.5 MB / 0.7868 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009114, allocations: 97.5 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.763e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2853, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/6.111, allocations: 2.185 GB / 3.397 GB, free: 92.16 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/6.111, allocations: 99.75 kB / 3.397 GB, free: 92.11 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.72/10.83, allocations: 1.242 GB / 4.639 GB, free: 153.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.904e-06/10.83, allocations: 0 / 4.639 GB, free: 153.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004141/10.83, allocations: 89.77 kB / 4.64 GB, free: 153.3 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.009716/10.84, allocations: 3.635 MB / 4.643 GB, free: 150.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/10.84, allocations: 10.33 kB / 4.643 GB, free: 150.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/10.84, allocations: 0.5311 MB / 4.644 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/10.85, allocations: 3.403 MB / 4.647 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/10.85, allocations: 67.03 kB / 4.647 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004435/10.85, allocations: 138.9 kB / 4.647 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003382/10.86, allocations: 1.806 MB / 4.649 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/10.86, allocations: 2.237 MB / 4.651 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/10.86, allocations: 5.656 kB / 4.651 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/10.86, allocations: 7.062 kB / 4.651 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.179e-05/10.86, allocations: 72.55 kB / 4.651 GB, free: 145.9 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.01478/10.88, allocations: 10.05 MB / 4.661 GB, free: 137.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/10.88, allocations: 1.398 MB / 4.662 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/10.88, allocations: 0.9531 MB / 4.663 GB, free: 136.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/10.88, allocations: 1.186 MB / 4.664 GB, free: 134.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/10.88, allocations: 55.56 kB / 4.665 GB, free: 134.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/10.88, allocations: 2.516 kB / 4.665 GB, free: 134.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01019/10.89, allocations: 4.643 MB / 4.669 GB, free: 129.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/10.89, allocations: 343.3 kB / 4.669 GB, free: 129.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/10.9, allocations: 2.616 MB / 4.672 GB, free: 126.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005398/10.9, allocations: 33.7 kB / 4.672 GB, free: 126.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/10.9, allocations: 1.485 MB / 4.673 GB, free: 125.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/10.9, allocations: 453.8 kB / 4.674 GB, free: 124.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/10.9, allocations: 4 kB / 4.674 GB, free: 124.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001666/10.9, allocations: 369.9 kB / 4.674 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/10.9, allocations: 1.011 MB / 4.675 GB, free: 123.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/10.9, allocations: 1.431 MB / 4.677 GB, free: 122 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.006614/10.91, allocations: 3.722 MB / 4.68 GB, free: 118.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/10.91, allocations: 7.062 kB / 4.68 GB, free: 118.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00487/10.91, allocations: 2.792 MB / 4.683 GB, free: 115.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007861/10.91, allocations: 2.894 MB / 4.686 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/10.91, allocations: 6.5 kB / 4.686 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/10.91, allocations: 145.6 kB / 4.686 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/10.91, allocations: 261.8 kB / 4.686 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/10.92, allocations: 1.302 MB / 4.687 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/10.92, allocations: 171.8 kB / 4.688 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/10.92, allocations: 83.98 kB / 4.688 GB, free: 110.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/10.92, allocations: 1.062 kB / 4.688 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00409/10.92, allocations: 2.719 MB / 4.69 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/10.92, allocations: 4 kB / 4.69 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/10.92, allocations: 140.1 kB / 4.691 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/10.92, allocations: 261.8 kB / 4.691 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007793/10.93, allocations: 1.301 MB / 4.692 GB, free: 105.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/10.93, allocations: 176.5 kB / 4.692 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/10.93, allocations: 83.97 kB / 4.692 GB, free: 105.5 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.000558/10.93, allocations: 337.2 kB / 4.693 GB, free: 105.1 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003468/10.93, allocations: 2.024 MB / 4.695 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/10.93, allocations: 296.3 kB / 4.695 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/10.94, allocations: 2.163 MB / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/10.94, allocations: 19.98 kB / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/10.94, allocations: 2.344 kB / 4.697 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/10.94, allocations: 1.957 MB / 4.699 GB, free: 98.62 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009066/10.95, allocations: 5.368 MB / 4.704 GB, free: 93.17 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/10.95, allocations: 11.95 kB / 4.704 GB, free: 93.16 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/10.95, allocations: 258.6 kB / 4.704 GB, free: 92.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/10.95, allocations: 12 kB / 4.704 GB, free: 92.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/10.95, allocations: 24 kB / 4.704 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.32e-05/10.95, allocations: 15.92 kB / 4.704 GB, free: 92.86 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/10.95, allocations: 10.08 kB / 4.704 GB, free: 92.85 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/10.95, allocations: 4.161 MB / 4.709 GB, free: 88.47 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/10.96, allocations: 0.6769 MB / 4.709 GB, free: 87.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005985/10.96, allocations: 20 kB / 4.709 GB, free: 87.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/10.96, allocations: 150.7 kB / 4.709 GB, free: 87.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/10.96, allocations: 159 kB / 4.709 GB, free: 87.46 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/10.96, allocations: 63.97 kB / 4.71 GB, free: 87.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003333/10.96, allocations: 1.979 MB / 4.711 GB, free: 85.43 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.21e-07/10.96, allocations: 1.906 kB / 4.711 GB, free: 85.43 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00622/10.97, allocations: 1.386 MB / 4.713 GB, free: 84.04 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.00953/10.98, allocations: 8.809 MB / 4.721 GB, free: 75.48 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005976/10.98, allocations: 5.457 MB / 4.727 GB, free: 69.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/10.98, allocations: 0 / 4.727 GB, free: 69.74 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/10.99, allocations: 1.84 MB / 4.729 GB, free: 67.83 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00824/10.99, allocations: 1.383 MB / 4.73 GB, free: 66.57 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/11.01, allocations: 5.902 MB / 4.736 GB, free: 60.72 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/11.02, allocations: 2.158 MB / 4.738 GB, free: 58.54 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006111/11.02, allocations: 0.985 MB / 4.739 GB, free: 57.61 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/11.02, allocations: 1.284 MB / 4.74 GB, free: 56.32 MB / 1.167 GB Notification: Performance of SimCode: time 1.453e-06/11.02, allocations: 0 / 4.74 GB, free: 56.32 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.005/12.03, allocations: 103.2 MB / 4.841 GB, free: 191.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/12.03, allocations: 194.9 kB / 4.841 GB, free: 190.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.809/17.84, allocations: 0 / 4.841 GB, free: 190.8 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat does not exist to compare? outputFormat=mat