Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",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.489/2.489, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.002051/0.002051, allocations: 180.9 kB / 492.3 MB, free: 0.6445 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.659/1.659, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.00117/0.00117, allocations: 99.78 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.431e-05, allocations: 5.797 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.013/6.329, allocations: 2.203 GB / 3.415 GB, free: 74.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004212/6.33, allocations: 100.1 kB / 3.416 GB, free: 74.75 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.42/26.75, allocations: 4.515 GB / 7.93 GB, free: 95.98 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.643e-06/26.75, allocations: 1.125 kB / 7.93 GB, free: 95.98 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.001916/26.76, allocations: 203.2 kB / 7.93 GB, free: 95.96 MB / 1.354 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.0287/26.78, allocations: 8.02 MB / 7.938 GB, free: 91.94 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/26.78, allocations: 13.55 kB / 7.938 GB, free: 91.94 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002969/26.79, allocations: 0.574 MB / 7.939 GB, free: 91.88 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/26.8, allocations: 1.851 MB / 7.941 GB, free: 91.38 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03341/26.83, allocations: 9.93 MB / 7.95 GB, free: 90.12 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006753/26.84, allocations: 366.6 kB / 7.951 GB, free: 90.11 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/26.84, allocations: 481.6 kB / 7.951 GB, free: 90.11 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/26.86, allocations: 5.586 MB / 7.956 GB, free: 89.54 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/26.86, allocations: 6.406 kB / 7.956 GB, free: 89.54 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007771/26.86, allocations: 191.3 kB / 7.957 GB, free: 89.53 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/26.86, allocations: 163.7 kB / 7.957 GB, free: 89.52 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/26.87, allocations: 4.363 MB / 7.961 GB, free: 89.47 MB / 1.354 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.04975/26.92, allocations: 25.34 MB / 7.986 GB, free: 80.14 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004842/26.92, allocations: 2.845 MB / 7.989 GB, free: 80.09 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/26.92, allocations: 1.852 MB / 7.99 GB, free: 80.07 MB / 1.354 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/26.94, allocations: 8.396 MB / 7.999 GB, free: 76.67 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.568e-05/26.94, allocations: 60.06 kB / 7.999 GB, free: 76.63 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005247/26.95, allocations: 426.9 kB / 7.999 GB, free: 76.46 MB / 1.354 GB Notification: Performance of pre-optimization done (n=214): time 2.225e-05/26.95, allocations: 0 / 7.999 GB, free: 76.46 MB / 1.354 GB Notification: Performance of matching and sorting (n=214): time 0.01042/26.96, allocations: 4.337 MB / 8.003 GB, free: 75.62 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/26.96, allocations: 418.9 kB / 8.004 GB, free: 75.18 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/26.98, allocations: 7.271 MB / 8.011 GB, free: 74.67 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/26.98, allocations: 92.92 kB / 8.011 GB, free: 74.64 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.005966/26.99, allocations: 3.752 MB / 8.015 GB, free: 73.77 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/26.99, allocations: 0.7213 MB / 8.015 GB, free: 73.32 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008032/26.99, allocations: 63.16 kB / 8.015 GB, free: 73.32 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0004394/26.99, allocations: 438.2 kB / 8.016 GB, free: 73.01 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003592/26.99, allocations: 2.099 MB / 8.018 GB, free: 73 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004331/27, allocations: 3.403 MB / 8.021 GB, free: 71.55 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/27, allocations: 3.081 MB / 8.024 GB, free: 70.74 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/27, allocations: 7.031 kB / 8.024 GB, free: 70.74 MB / 1.354 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01423/27.02, allocations: 6.758 MB / 8.031 GB, free: 69.49 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.004595/27.02, allocations: 15.83 MB / 8.046 GB, free: 53.36 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/27.02, allocations: 25.03 kB / 8.046 GB, free: 53.36 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.8e-05/27.02, allocations: 55.95 kB / 8.046 GB, free: 53.36 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/27.02, allocations: 0.704 MB / 8.047 GB, free: 53.36 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/27.02, allocations: 58.83 kB / 8.047 GB, free: 53.36 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008299/27.03, allocations: 484.2 kB / 8.047 GB, free: 53.33 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/27.03, allocations: 218.4 kB / 8.048 GB, free: 53.33 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/27.03, allocations: 7.969 kB / 8.048 GB, free: 53.33 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01234/27.05, allocations: 6.824 MB / 8.054 GB, free: 52.5 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/27.05, allocations: 28.25 kB / 8.054 GB, free: 52.5 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.502e-05/27.05, allocations: 50.94 kB / 8.054 GB, free: 52.5 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/27.05, allocations: 0.6995 MB / 8.055 GB, free: 52.5 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.188e-05/27.05, allocations: 56.28 kB / 8.055 GB, free: 52.5 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008423/27.06, allocations: 469.3 kB / 8.056 GB, free: 52.48 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/27.06, allocations: 210.9 kB / 8.056 GB, free: 52.48 MB / 1.354 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 339 * 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.002575/27.06, allocations: 0.6758 MB / 8.056 GB, free: 51.98 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003135/27.07, allocations: 0.7367 MB / 8.057 GB, free: 51.58 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/27.08, allocations: 5.05 MB / 8.062 GB, free: 51.01 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/27.08, allocations: 27.12 kB / 8.062 GB, free: 51.01 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/27.08, allocations: 1.125 kB / 8.062 GB, free: 51.01 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006389/27.08, allocations: 4.069 MB / 8.066 GB, free: 50.34 MB / 1.354 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 postOpt removeSimpleEquations (simulation): time 0.03266/27.12, allocations: 11.51 MB / 8.077 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/27.12, allocations: 5.812 kB / 8.077 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/27.12, allocations: 461.7 kB / 8.078 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.682e-05/27.12, allocations: 15.03 kB / 8.078 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/27.12, allocations: 80.45 kB / 8.078 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.726e-05/27.12, allocations: 15.75 kB / 8.078 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/27.12, allocations: 8.844 kB / 8.078 GB, free: 49.24 MB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/27.13, allocations: 8.669 MB / 8.086 GB, free: 46.79 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006556/27.14, allocations: 1.455 MB / 8.088 GB, free: 46.29 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003708/27.14, allocations: 62.97 kB / 8.088 GB, free: 46.29 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007539/27.15, allocations: 381.2 kB / 8.088 GB, free: 46.28 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008461/27.15, allocations: 302.9 kB / 8.089 GB, free: 46.27 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004474/27.15, allocations: 124.3 kB / 8.089 GB, free: 46.27 MB / 1.354 GB Notification: Performance of sorting global known variables: time 0.01624/27.17, allocations: 5.565 MB / 8.094 GB, free: 45.98 MB / 1.354 GB Notification: Performance of sort global known variables: time 6.51e-07/27.17, allocations: 3.656 kB / 8.094 GB, free: 45.98 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.02424/27.19, allocations: 3.909 MB / 8.098 GB, free: 45.53 MB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.0279/27.22, allocations: 17.09 MB / 8.115 GB, free: 38.76 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.0178/27.24, allocations: 11.44 MB / 8.126 GB, free: 35.66 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/27.24, allocations: 2.938 kB / 8.126 GB, free: 35.66 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.005594/27.24, allocations: 3.659 MB / 8.129 GB, free: 34.41 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02143/27.27, allocations: 3.776 MB / 8.133 GB, free: 33.74 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/27.31, allocations: 12.84 MB / 8.146 GB, free: 28.54 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008922/27.32, allocations: 4.163 MB / 8.15 GB, free: 27.2 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.01733/27.33, allocations: 2.691 MB / 8.152 GB, free: 26.86 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006382/27.34, allocations: 3.338 MB / 8.156 GB, free: 24.09 MB / 1.354 GB Notification: Performance of SimCode: time 1.383e-06/27.34, allocations: 4 kB / 8.156 GB, free: 24.09 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.59/28.93, allocations: 288.9 MB / 8.438 GB, free: 94.93 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/28.93, allocations: 219.6 kB / 8.438 GB, free: 94.71 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/46.75, allocations: 0 / 8.438 GB, free: 94.71 MB / 1.37 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat does not exist to compare? outputFormat=mat