Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System3.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.Examples.Tutorial.CDL.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System3",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.518/2.518, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001288/0.001288, allocations: 177.1 kB / 498.1 MB, free: 5.781 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.768/1.768, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001151/0.001151, allocations: 105.5 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004114, allocations: 10.16 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4186, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.539/6.957, allocations: 2.244 GB / 3.467 GB, free: 185.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/6.958, allocations: 92.05 kB / 3.467 GB, free: 185.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 19.09/26.05, allocations: 4.466 GB / 7.933 GB, free: 89.84 MB / 1.37 GB Notification: Performance of FrontEnd: time 3.957e-06/26.05, allocations: 0 / 7.933 GB, free: 89.84 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.002937/26.05, allocations: 323.7 kB / 7.933 GB, free: 89.78 MB / 1.37 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.05467/26.11, allocations: 12.46 MB / 7.945 GB, free: 84.48 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/26.11, allocations: 9.656 kB / 7.945 GB, free: 84.48 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005963/26.11, allocations: 0.9582 MB / 7.946 GB, free: 84.39 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01869/26.13, allocations: 2.411 MB / 7.948 GB, free: 83.71 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0486/26.18, allocations: 13.4 MB / 7.961 GB, free: 82.05 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/26.18, allocations: 0.5647 MB / 7.962 GB, free: 82.04 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004148/26.18, allocations: 0.7702 MB / 7.963 GB, free: 82.03 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/26.22, allocations: 8.364 MB / 7.971 GB, free: 81.08 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007114/26.22, allocations: 17.72 kB / 7.971 GB, free: 81.08 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003698/26.22, allocations: 311 kB / 7.971 GB, free: 81.08 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004964/26.22, allocations: 303.2 kB / 7.971 GB, free: 81.07 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02387/26.25, allocations: 6.947 MB / 7.978 GB, free: 81 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.09082/26.34, allocations: 41.02 MB / 8.018 GB, free: 60.81 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009956/26.35, allocations: 4.769 MB / 8.023 GB, free: 60.07 MB / 1.37 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.0345/26.38, allocations: 10.38 MB / 8.033 GB, free: 57.24 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007003/26.39, allocations: 2.609 MB / 8.036 GB, free: 57.09 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007963/26.4, allocations: 0.4986 MB / 8.036 GB, free: 56.89 MB / 1.37 GB Notification: Performance of pre-optimization done (n=422): time 4.101e-05/26.4, allocations: 0 / 8.036 GB, free: 56.89 MB / 1.37 GB Notification: Performance of matching and sorting (n=430): time 0.05194/26.45, allocations: 14.66 MB / 8.05 GB, free: 53.65 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/26.45, allocations: 329.5 kB / 8.051 GB, free: 53.3 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02205/26.47, allocations: 7.462 MB / 8.058 GB, free: 52.73 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001909/26.47, allocations: 136.5 kB / 8.058 GB, free: 52.7 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.008194/26.48, allocations: 5.056 MB / 8.063 GB, free: 51.26 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.00286/26.48, allocations: 1.488 MB / 8.065 GB, free: 50.31 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/26.49, allocations: 113.3 kB / 8.065 GB, free: 50.31 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0007073/26.49, allocations: 0.5172 MB / 8.065 GB, free: 49.99 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005769/26.49, allocations: 2.023 MB / 8.067 GB, free: 49.98 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006613/26.5, allocations: 3.872 MB / 8.071 GB, free: 47.85 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006325/26.51, allocations: 2.658 MB / 8.074 GB, free: 47.74 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.829e-05/26.51, allocations: 10 kB / 8.074 GB, free: 47.74 MB / 1.37 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02189/26.53, allocations: 7.291 MB / 8.081 GB, free: 47 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.004619/26.53, allocations: 22.42 MB / 8.103 GB, free: 23.65 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/26.53, allocations: 42.34 kB / 8.103 GB, free: 23.65 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/26.54, allocations: 0.977 MB / 8.104 GB, free: 23.6 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/26.54, allocations: 1.235 MB / 8.105 GB, free: 23.6 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007732/26.55, allocations: 7.444 MB / 8.112 GB, free: 18 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/26.57, allocations: 0.7463 MB / 8.113 GB, free: 17.93 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/26.57, allocations: 271.4 kB / 8.113 GB, free: 17.93 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/26.57, allocations: 4.5 kB / 8.113 GB, free: 17.93 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01882/26.59, allocations: 6.284 MB / 8.119 GB, free: 17.69 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/26.59, allocations: 40.28 kB / 8.119 GB, free: 17.69 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004107/26.59, allocations: 0.9107 MB / 8.12 GB, free: 17.65 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005977/26.6, allocations: 1.189 MB / 8.121 GB, free: 17.65 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/26.61, allocations: 9.331 MB / 8.13 GB, free: 27.66 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/26.62, allocations: 0.699 MB / 8.131 GB, free: 27.6 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/26.62, allocations: 259.9 kB / 8.131 GB, free: 27.6 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition1,$PRE.timTab.tab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (658): * Single equations (assignments): 650 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0094/26.63, allocations: 2.28 MB / 8.133 GB, free: 27.39 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003985/26.64, allocations: 0.9242 MB / 8.134 GB, free: 26.9 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/26.66, allocations: 6.319 MB / 8.141 GB, free: 26.5 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.213e-05/26.66, allocations: 48.34 kB / 8.141 GB, free: 26.5 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-05/26.66, allocations: 5.312 kB / 8.141 GB, free: 26.5 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01076/26.67, allocations: 4.657 MB / 8.145 GB, free: 26.24 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04524/26.71, allocations: 14.29 MB / 8.159 GB, free: 25.3 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/26.71, allocations: 0 / 8.159 GB, free: 25.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004526/26.72, allocations: 0.8444 MB / 8.16 GB, free: 25.3 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/26.72, allocations: 0.6945 MB / 8.161 GB, free: 25.22 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008642/26.72, allocations: 132.5 kB / 8.161 GB, free: 25.22 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/26.73, allocations: 13.18 MB / 8.174 GB, free: 13.96 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/26.73, allocations: 3.312 kB / 8.174 GB, free: 13.96 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/26.75, allocations: 8.521 MB / 8.182 GB, free: 12.88 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008772/26.76, allocations: 1.73 MB / 8.184 GB, free: 12.27 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00541/26.77, allocations: 98.86 kB / 8.184 GB, free: 12.27 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009829/26.78, allocations: 0.6646 MB / 8.184 GB, free: 12.23 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/26.78, allocations: 294 kB / 8.185 GB, free: 12.23 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001205/26.78, allocations: 202.5 kB / 8.185 GB, free: 12.23 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01551/26.79, allocations: 5.665 MB / 8.19 GB, free: 11.95 MB / 1.385 GB Notification: Performance of sort global known variables: time 9.52e-07/26.79, allocations: 3.875 kB / 8.19 GB, free: 11.95 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03423/26.83, allocations: 5.142 MB / 8.195 GB, free: 11.71 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 30 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.s[1],pumBoi.filter.s[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.s[1],valRad.filter.s[2],valBoi.vol.dynBal.U,valBoi.filter.s[1],valBoi.filter.s[2],temRet.T,spl1.vol.dynBal.U,conBoiRet.conPID.I.y) * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (427): * Single equations (assignments): 404 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0362/26.86, allocations: 15.29 MB / 8.21 GB, free: 7.426 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02424/26.89, allocations: 9.606 MB / 8.22 GB, free: 6.41 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 4.116e-05/26.89, allocations: 12.91 kB / 8.22 GB, free: 6.402 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.007145/26.9, allocations: 3.406 MB / 8.223 GB, free: 5.469 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02532/26.92, allocations: 4.487 MB / 8.227 GB, free: 5.238 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08321/27, allocations: 57.31 MB / 8.283 GB, free: 9.129 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/27.02, allocations: 5.412 MB / 8.289 GB, free: 8.102 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01645/27.03, allocations: 2.644 MB / 8.291 GB, free: 7.746 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01087/27.04, allocations: 4.795 MB / 8.296 GB, free: 7.73 MB / 1.432 GB Notification: Performance of SimCode: time 1.102e-06/27.04, allocations: 4 kB / 8.296 GB, free: 7.727 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.608/28.65, allocations: 300.6 MB / 8.589 GB, free: 158.6 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/28.65, allocations: 241.5 kB / 8.59 GB, free: 158.3 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/44.47, allocations: 4 kB / 8.59 GB, free: 158.3 MB / 1.464 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System3_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System3.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System3_res.mat does not exist to compare? outputFormat=mat