Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System4.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.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System4,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System4",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.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.00128/0.00128, allocations: 181.2 kB / 498.1 MB, free: 5.668 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.74/1.74, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001105/0.001105, allocations: 92.33 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004962, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4151, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.302/6.717, allocations: 2.244 GB / 3.467 GB, free: 215.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/6.718, allocations: 97.5 kB / 3.467 GB, free: 215.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 18.11/24.83, allocations: 4.466 GB / 7.933 GB, free: 3.594 MB / 1.354 GB Notification: Performance of FrontEnd: time 2.925e-06/24.83, allocations: 0 / 7.933 GB, free: 3.594 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002863/24.83, allocations: 315.7 kB / 7.933 GB, free: 3.285 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: 1860 * Number of variables: 1860 Notification: Performance of Generate backend data structure: time 0.05268/24.89, allocations: 12.5 MB / 7.946 GB, free: 6.668 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/24.89, allocations: 15.97 kB / 7.946 GB, free: 6.652 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005597/24.89, allocations: 0.9549 MB / 7.947 GB, free: 5.684 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01967/24.91, allocations: 2.401 MB / 7.949 GB, free: 3.266 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.264/26.18, allocations: 13.4 MB / 7.962 GB, free: 81 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009942/26.18, allocations: 0.5695 MB / 7.963 GB, free: 80.99 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/26.18, allocations: 0.7719 MB / 7.963 GB, free: 80.99 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/26.21, allocations: 8.393 MB / 7.971 GB, free: 80.05 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003228/26.21, allocations: 17.75 kB / 7.971 GB, free: 80.05 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/26.21, allocations: 308.7 kB / 7.972 GB, free: 80.05 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/26.21, allocations: 300.4 kB / 7.972 GB, free: 80.03 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/26.23, allocations: 6.966 MB / 7.979 GB, free: 79.97 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.08457/26.32, allocations: 41 MB / 8.019 GB, free: 60.22 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009828/26.33, allocations: 4.799 MB / 8.024 GB, free: 59.5 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.03473/26.36, allocations: 10.4 MB / 8.034 GB, free: 56.78 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006856/26.37, allocations: 2.635 MB / 8.036 GB, free: 56.63 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009655/26.38, allocations: 0.5086 MB / 8.037 GB, free: 56.52 MB / 1.37 GB Notification: Performance of pre-optimization done (n=429): time 4.382e-05/26.38, allocations: 0.7812 kB / 8.037 GB, free: 56.52 MB / 1.37 GB Notification: Performance of matching and sorting (n=437): time 0.05175/26.43, allocations: 14.76 MB / 8.051 GB, free: 53.43 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/26.43, allocations: 337.9 kB / 8.052 GB, free: 53.09 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02322/26.46, allocations: 7.441 MB / 8.059 GB, free: 52.55 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.001784/26.46, allocations: 139.2 kB / 8.059 GB, free: 52.52 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.008075/26.47, allocations: 5.047 MB / 8.064 GB, free: 51.09 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.002903/26.47, allocations: 1.507 MB / 8.065 GB, free: 50.12 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/26.47, allocations: 112 kB / 8.065 GB, free: 50.12 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0006249/26.47, allocations: 0.5211 MB / 8.066 GB, free: 49.81 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/26.48, allocations: 2.027 MB / 8.068 GB, free: 49.8 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00694/26.48, allocations: 3.892 MB / 8.072 GB, free: 47.66 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006552/26.49, allocations: 2.655 MB / 8.074 GB, free: 47.56 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.211e-05/26.49, allocations: 17.08 kB / 8.074 GB, free: 47.55 MB / 1.37 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02253/26.51, allocations: 7.331 MB / 8.082 GB, free: 46.8 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.007535/26.52, allocations: 22.53 MB / 8.104 GB, free: 39.36 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/26.52, allocations: 42.09 kB / 8.104 GB, free: 39.36 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/26.52, allocations: 0.998 MB / 8.105 GB, free: 39.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006406/26.53, allocations: 1.23 MB / 8.106 GB, free: 39.3 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008739/26.54, allocations: 7.454 MB / 8.113 GB, free: 33.71 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01284/26.55, allocations: 0.7539 MB / 8.114 GB, free: 33.64 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001854/26.55, allocations: 270.7 kB / 8.114 GB, free: 33.64 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/26.55, allocations: 5.625 kB / 8.114 GB, free: 33.64 MB / 1.385 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01865/26.57, allocations: 6.319 MB / 8.12 GB, free: 33.39 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/26.57, allocations: 39.66 kB / 8.12 GB, free: 33.39 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004114/26.58, allocations: 0.9137 MB / 8.121 GB, free: 33.35 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006718/26.58, allocations: 1.195 MB / 8.122 GB, free: 33.35 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/26.6, allocations: 9.308 MB / 8.131 GB, free: 43.41 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/26.61, allocations: 0.7133 MB / 8.132 GB, free: 43.35 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/26.61, allocations: 258.8 kB / 8.132 GB, free: 43.35 MB / 1.401 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 15 ($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,$PRE.conEquSta.hys.y,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 653 * 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 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009616/26.62, allocations: 2.289 MB / 8.135 GB, free: 43.14 MB / 1.401 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00458/26.63, allocations: 0.9217 MB / 8.135 GB, free: 42.65 MB / 1.401 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02041/26.65, allocations: 6.352 MB / 8.142 GB, free: 42.25 MB / 1.401 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.29e-05/26.65, allocations: 55.84 kB / 8.142 GB, free: 42.25 MB / 1.401 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.946e-05/26.65, allocations: 2.031 kB / 8.142 GB, free: 42.25 MB / 1.401 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0122/26.66, allocations: 4.698 MB / 8.146 GB, free: 41.99 MB / 1.401 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04581/26.71, allocations: 14.36 MB / 8.16 GB, free: 41.05 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/26.71, allocations: 2 kB / 8.16 GB, free: 41.05 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004714/26.71, allocations: 0.8405 MB / 8.161 GB, free: 41.05 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/26.71, allocations: 0.6985 MB / 8.162 GB, free: 40.98 MB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00097/26.71, allocations: 135.3 kB / 8.162 GB, free: 40.98 MB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/26.72, allocations: 13.18 MB / 8.175 GB, free: 29.71 MB / 1.401 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/26.72, allocations: 6.969 kB / 8.175 GB, free: 29.71 MB / 1.401 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02171/26.75, allocations: 8.588 MB / 8.183 GB, free: 28.62 MB / 1.401 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009472/26.76, allocations: 1.733 MB / 8.185 GB, free: 28.02 MB / 1.401 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005254/26.76, allocations: 101.3 kB / 8.185 GB, free: 28.02 MB / 1.401 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01043/26.77, allocations: 0.6613 MB / 8.186 GB, free: 27.98 MB / 1.401 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/26.77, allocations: 304.6 kB / 8.186 GB, free: 27.98 MB / 1.401 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001223/26.77, allocations: 204.4 kB / 8.186 GB, free: 27.98 MB / 1.401 GB Notification: Performance of sorting global known variables: time 0.01643/26.79, allocations: 5.65 MB / 8.192 GB, free: 27.7 MB / 1.401 GB Notification: Performance of sort global known variables: time 5.11e-07/26.79, allocations: 2.125 kB / 8.192 GB, free: 27.7 MB / 1.401 GB Notification: Performance of remove unused functions: time 0.03481/26.83, allocations: 5.146 MB / 8.197 GB, free: 27.62 MB / 1.401 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: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conEquSta.hys.y,boiSigCon.u) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conEquSta.hys.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (434): * Single equations (assignments): 411 * 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.03642/26.86, allocations: 15.36 MB / 8.212 GB, free: 23.91 MB / 1.401 GB Notification: Performance of simCode: created initialization part: time 0.02573/26.89, allocations: 9.776 MB / 8.221 GB, free: 22.94 MB / 1.401 GB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/26.89, allocations: 10.22 kB / 8.221 GB, free: 22.94 MB / 1.401 GB Notification: Performance of simCode: created simulation system equations: time 0.007226/26.89, allocations: 3.45 MB / 8.225 GB, free: 22.02 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0248/26.92, allocations: 4.489 MB / 8.229 GB, free: 21.97 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08803/27.01, allocations: 57.47 MB / 8.285 GB, free: 10.41 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/27.02, allocations: 5.42 MB / 8.29 GB, free: 9.379 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.01882/27.04, allocations: 2.647 MB / 8.293 GB, free: 9.051 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01202/27.05, allocations: 4.8 MB / 8.298 GB, free: 9.039 MB / 1.432 GB Notification: Performance of SimCode: time 9.12e-07/27.05, allocations: 0 / 8.298 GB, free: 9.039 MB / 1.432 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.602/28.65, allocations: 301.1 MB / 8.592 GB, free: 169.4 MB / 1.464 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/28.65, allocations: 240.5 kB / 8.592 GB, free: 169.2 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/45.42, allocations: 3.938 kB / 8.592 GB, free: 169.1 MB / 1.464 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System4_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System4_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System4.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System4_res.mat does not exist to compare? outputFormat=mat