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.269/2.269, 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.00134/0.00134, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.001162/0.001162, allocations: 91.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.228e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3254, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.906/6.232, allocations: 2.202 GB / 3.408 GB, free: 121.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/6.232, allocations: 99.94 kB / 3.408 GB, free: 121 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 18.18/24.41, allocations: 4.489 GB / 7.897 GB, free: 89.55 MB / 1.339 GB Notification: Performance of FrontEnd: time 2.895e-06/24.41, allocations: 0 / 7.897 GB, free: 89.55 MB / 1.339 GB Notification: Performance of Transformations before backend: time 0.0017/24.42, allocations: 197.2 kB / 7.897 GB, free: 89.52 MB / 1.339 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.02456/24.44, allocations: 8.026 MB / 7.905 GB, free: 85.59 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/24.44, allocations: 10.41 kB / 7.905 GB, free: 85.59 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/24.45, allocations: 1.851 MB / 7.907 GB, free: 85.1 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02677/24.48, allocations: 9.924 MB / 7.917 GB, free: 83.84 MB / 1.339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/24.48, allocations: 153.1 kB / 7.917 GB, free: 83.84 MB / 1.339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/24.48, allocations: 293.7 kB / 7.917 GB, free: 83.84 MB / 1.339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009508/24.49, allocations: 4.141 MB / 7.921 GB, free: 83.82 MB / 1.339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/24.5, allocations: 4.963 MB / 7.926 GB, free: 83.27 MB / 1.339 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/24.5, allocations: 6.875 kB / 7.926 GB, free: 83.27 MB / 1.339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005609/24.5, allocations: 10.56 kB / 7.926 GB, free: 83.27 MB / 1.339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/24.5, allocations: 168.5 kB / 7.926 GB, free: 83.25 MB / 1.339 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.0463/24.55, allocations: 24.47 MB / 7.95 GB, free: 74.13 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/24.55, allocations: 2.978 MB / 7.953 GB, free: 74 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/24.56, allocations: 1.83 MB / 7.955 GB, free: 73.97 MB / 1.339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/24.57, allocations: 8.218 MB / 7.963 GB, free: 70.53 MB / 1.339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/24.57, allocations: 62.28 kB / 7.963 GB, free: 70.49 MB / 1.339 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00367/24.57, allocations: 313.9 kB / 7.963 GB, free: 70.37 MB / 1.339 GB Notification: Performance of pre-optimization done (n=213): time 6.332e-06/24.57, allocations: 0.6875 kB / 7.963 GB, free: 70.37 MB / 1.339 GB Notification: Performance of matching and sorting (n=213): time 0.009145/24.58, allocations: 4.157 MB / 7.967 GB, free: 69.92 MB / 1.339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/24.58, allocations: 421.3 kB / 7.968 GB, free: 69.48 MB / 1.339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/24.6, allocations: 6.35 MB / 7.974 GB, free: 69.02 MB / 1.339 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/24.6, allocations: 37.36 kB / 7.974 GB, free: 68.99 MB / 1.339 GB Notification: Performance of collectInitialEqns (initialization): time 0.003465/24.6, allocations: 3.733 MB / 7.978 GB, free: 67.99 MB / 1.339 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/24.6, allocations: 0.6907 MB / 7.978 GB, free: 67.54 MB / 1.339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/24.6, allocations: 9.312 kB / 7.978 GB, free: 67.54 MB / 1.339 GB Notification: Performance of setup shared object (initialization): time 0.0002596/24.6, allocations: 437.4 kB / 7.979 GB, free: 67.23 MB / 1.339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/24.61, allocations: 2.09 MB / 7.981 GB, free: 67.22 MB / 1.339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/24.61, allocations: 3.404 MB / 7.984 GB, free: 65.71 MB / 1.339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005201/24.61, allocations: 2.59 MB / 7.987 GB, free: 65.67 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/24.61, allocations: 9 kB / 7.987 GB, free: 65.67 MB / 1.339 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01146/24.63, allocations: 6.06 MB / 7.992 GB, free: 65.2 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 0.0031/24.63, allocations: 16.37 MB / 8.008 GB, free: 48.08 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.266e-05/24.63, allocations: 32.95 kB / 8.009 GB, free: 48.08 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/24.63, allocations: 49.94 kB / 8.009 GB, free: 48.08 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/24.63, allocations: 0.7142 MB / 8.009 GB, free: 48.08 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.287e-05/24.63, allocations: 65.28 kB / 8.009 GB, free: 48.08 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00682/24.64, allocations: 414.8 kB / 8.01 GB, free: 48.05 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006363/24.64, allocations: 221.3 kB / 8.01 GB, free: 48.05 MB / 1.339 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/24.64, allocations: 4.094 kB / 8.01 GB, free: 48.05 MB / 1.339 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009801/24.65, allocations: 5.705 MB / 8.015 GB, free: 47.97 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-05/24.65, allocations: 28.56 kB / 8.016 GB, free: 47.97 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.835e-05/24.65, allocations: 49.69 kB / 8.016 GB, free: 47.97 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/24.65, allocations: 0.7094 MB / 8.016 GB, free: 47.97 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.255e-05/24.65, allocations: 64.7 kB / 8.016 GB, free: 47.97 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006643/24.66, allocations: 403.3 kB / 8.017 GB, free: 47.95 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/24.66, allocations: 212.9 kB / 8.017 GB, free: 47.95 MB / 1.339 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (366): * Single equations (assignments): 338 * 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.001218/24.66, allocations: 0.5786 MB / 8.017 GB, free: 47.45 MB / 1.339 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009234/24.67, allocations: 4.071 MB / 8.021 GB, free: 47 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002439/24.67, allocations: 0.6788 MB / 8.022 GB, free: 46.63 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/24.68, allocations: 4.576 MB / 8.027 GB, free: 46.44 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/24.68, allocations: 24.48 kB / 8.027 GB, free: 46.44 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/24.68, allocations: 8.562 kB / 8.027 GB, free: 46.44 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00574/24.69, allocations: 3.677 MB / 8.03 GB, free: 46.14 MB / 1.339 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.02765/24.72, allocations: 10.5 MB / 8.04 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/24.72, allocations: 5.625 kB / 8.04 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/24.72, allocations: 468 kB / 8.041 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/24.72, allocations: 13.62 kB / 8.041 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/24.72, allocations: 59.83 kB / 8.041 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-05/24.72, allocations: 15.97 kB / 8.041 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/24.72, allocations: 8.656 kB / 8.041 GB, free: 45.52 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/24.73, allocations: 8.051 MB / 8.049 GB, free: 43.62 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005304/24.74, allocations: 1.386 MB / 8.05 GB, free: 43.14 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002959/24.74, allocations: 29.52 kB / 8.05 GB, free: 43.14 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006192/24.75, allocations: 352.1 kB / 8.051 GB, free: 43.13 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/24.75, allocations: 292.7 kB / 8.051 GB, free: 43.12 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/24.75, allocations: 124 kB / 8.051 GB, free: 43.12 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.01307/24.76, allocations: 4.768 MB / 8.056 GB, free: 42.88 MB / 1.339 GB Notification: Performance of sort global known variables: time 3.8e-07/24.76, allocations: 1.203 kB / 8.056 GB, free: 42.88 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.02225/24.78, allocations: 3.801 MB / 8.059 GB, free: 42.32 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (225): * Single equations (assignments): 201 * 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.02586/24.81, allocations: 16.31 MB / 8.075 GB, free: 36.15 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.01368/24.82, allocations: 11.17 MB / 8.086 GB, free: 33.06 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/24.82, allocations: 3 kB / 8.086 GB, free: 33.06 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/24.83, allocations: 3.55 MB / 8.09 GB, free: 32.31 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01926/24.85, allocations: 3.264 MB / 8.093 GB, free: 32.26 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04285/24.89, allocations: 12.51 MB / 8.105 GB, free: 29.41 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/24.9, allocations: 4.163 MB / 8.109 GB, free: 28.47 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.01291/24.91, allocations: 2.545 MB / 8.112 GB, free: 28.13 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004294/24.91, allocations: 3.316 MB / 8.115 GB, free: 28.13 MB / 1.339 GB Notification: Performance of SimCode: time 9.22e-07/24.91, allocations: 0 / 8.115 GB, free: 28.13 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/26.26, allocations: 225.2 MB / 8.335 GB, free: 125 MB / 1.37 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/26.26, allocations: 210.6 kB / 8.335 GB, free: 124.8 MB / 1.37 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/39.39, allocations: 0 / 8.335 GB, free: 124.8 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