Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.System1.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.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_System1",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.441/2.441, allocations: 387.1 MB / 399.7 MB, free: 9.414 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.001434/0.001434, allocations: 182.5 kB / 492.3 MB, free: 0.6055 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.763/1.763, allocations: 221.3 MB / 0.7871 GB, free: 12.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.001076/0.001076, allocations: 86.8 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.513e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/6.862, allocations: 2.241 GB / 3.453 GB, free: 36.17 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/6.862, allocations: 93.59 kB / 3.453 GB, free: 36.12 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 20.69/27.55, allocations: 4.45 GB / 7.903 GB, free: 69.81 MB / 1.354 GB Notification: Performance of FrontEnd: time 1.974e-06/27.55, allocations: 4 kB / 7.903 GB, free: 69.8 MB / 1.354 GB Notification: Performance of Transformations before backend: time 0.002758/27.55, allocations: 315.6 kB / 7.903 GB, free: 69.75 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: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.03997/27.59, allocations: 9.777 MB / 7.913 GB, free: 65.37 MB / 1.354 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/27.59, allocations: 11.8 kB / 7.913 GB, free: 65.37 MB / 1.354 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005127/27.6, allocations: 0.9145 MB / 7.914 GB, free: 65.29 MB / 1.354 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/27.62, allocations: 2.376 MB / 7.916 GB, free: 64.57 MB / 1.354 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04443/27.66, allocations: 13.19 MB / 7.929 GB, free: 62.87 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009177/27.66, allocations: 0.5493 MB / 7.93 GB, free: 62.85 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003729/27.66, allocations: 0.741 MB / 7.93 GB, free: 62.84 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02972/27.69, allocations: 7.949 MB / 7.938 GB, free: 61.88 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006324/27.69, allocations: 25.69 kB / 7.938 GB, free: 61.88 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003383/27.7, allocations: 302.5 kB / 7.938 GB, free: 61.88 MB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004111/27.7, allocations: 290.3 kB / 7.939 GB, free: 61.86 MB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01956/27.72, allocations: 6.488 MB / 7.945 GB, free: 61.8 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.07673/27.79, allocations: 40.35 MB / 7.984 GB, free: 41.61 MB / 1.354 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007744/27.8, allocations: 4.559 MB / 7.989 GB, free: 40.83 MB / 1.354 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/27.81, allocations: 2.303 MB / 7.991 GB, free: 40.8 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 evalFunc (simulation): time 0.02939/27.84, allocations: 10.24 MB / 8.001 GB, free: 37.92 MB / 1.354 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004666/27.84, allocations: 2.431 MB / 8.004 GB, free: 37.76 MB / 1.354 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006908/27.85, allocations: 0.4938 MB / 8.004 GB, free: 37.55 MB / 1.354 GB Notification: Performance of pre-optimization done (n=408): time 3.774e-05/27.85, allocations: 0 / 8.004 GB, free: 37.55 MB / 1.354 GB Notification: Performance of matching and sorting (n=416): time 0.03625/27.88, allocations: 10.9 MB / 8.015 GB, free: 35 MB / 1.354 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/27.88, allocations: 310.1 kB / 8.015 GB, free: 34.68 MB / 1.354 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02404/27.91, allocations: 7.206 MB / 8.022 GB, free: 34.06 MB / 1.354 GB Notification: Performance of collectPreVariables (initialization): time 0.001896/27.91, allocations: 138 kB / 8.022 GB, free: 34.03 MB / 1.354 GB Notification: Performance of collectInitialEqns (initialization): time 0.008312/27.92, allocations: 4.918 MB / 8.027 GB, free: 32.59 MB / 1.354 GB Notification: Performance of collectInitialBindings (initialization): time 0.002731/27.92, allocations: 1.444 MB / 8.028 GB, free: 31.67 MB / 1.354 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006187/27.92, allocations: 108 kB / 8.028 GB, free: 31.67 MB / 1.354 GB Notification: Performance of setup shared object (initialization): time 0.0003964/27.92, allocations: 0.5115 MB / 8.029 GB, free: 31.36 MB / 1.354 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/27.93, allocations: 1.838 MB / 8.031 GB, free: 31.34 MB / 1.354 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004453/27.93, allocations: 3.672 MB / 8.034 GB, free: 29.15 MB / 1.354 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004449/27.94, allocations: 2.491 MB / 8.037 GB, free: 28.91 MB / 1.354 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-05/27.94, allocations: 11.16 kB / 8.037 GB, free: 28.91 MB / 1.354 GB Notification: Performance of matching and sorting (n=698) (initialization): time 0.01639/27.95, allocations: 6.892 MB / 8.043 GB, free: 27.87 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 0.006377/27.96, allocations: 22.41 MB / 8.065 GB, free: 20.18 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.643e-05/27.96, allocations: 44.42 kB / 8.065 GB, free: 20.18 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/27.96, allocations: 0.9482 MB / 8.066 GB, free: 20.11 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005881/27.97, allocations: 1.199 MB / 8.068 GB, free: 20.04 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007914/27.98, allocations: 7.299 MB / 8.075 GB, free: 14.39 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/27.99, allocations: 0.7195 MB / 8.075 GB, free: 14.27 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/27.99, allocations: 276.2 kB / 8.076 GB, free: 14.26 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/27.99, allocations: 3.031 kB / 8.076 GB, free: 14.26 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01825/28.01, allocations: 5.959 MB / 8.081 GB, free: 13.71 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/28.01, allocations: 39.44 kB / 8.081 GB, free: 13.71 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/28.01, allocations: 0.8909 MB / 8.082 GB, free: 13.63 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/28.02, allocations: 1.164 MB / 8.083 GB, free: 13.56 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/28.03, allocations: 9.097 MB / 8.092 GB, free: 23.47 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/28.04, allocations: 0.6869 MB / 8.093 GB, free: 23.37 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/28.04, allocations: 255.8 kB / 8.093 GB, free: 23.37 MB / 1.385 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * Number of states: 0 () * Number of discrete variables: 11 ($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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (641): * Single equations (assignments): 633 * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003424/28.05, allocations: 454.2 kB / 8.094 GB, free: 23.16 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004307/28.05, allocations: 0.8994 MB / 8.095 GB, free: 22.68 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/28.07, allocations: 5.978 MB / 8.1 GB, free: 22.18 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.969e-05/28.07, allocations: 47.14 kB / 8.1 GB, free: 22.18 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/28.07, allocations: 2.719 kB / 8.1 GB, free: 22.18 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/28.08, allocations: 4.345 MB / 8.105 GB, free: 21.88 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04383/28.12, allocations: 13.78 MB / 8.118 GB, free: 20.87 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/28.12, allocations: 0 / 8.118 GB, free: 20.87 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004383/28.13, allocations: 0.8074 MB / 8.119 GB, free: 20.82 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/28.13, allocations: 0.7146 MB / 8.12 GB, free: 20.72 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00117/28.13, allocations: 130.6 kB / 8.12 GB, free: 20.72 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/28.14, allocations: 13.21 MB / 8.133 GB, free: 9.277 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/28.14, allocations: 6.859 kB / 8.133 GB, free: 9.277 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/28.16, allocations: 8.015 MB / 8.141 GB, free: 8.152 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008439/28.17, allocations: 1.699 MB / 8.142 GB, free: 7.562 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00451/28.17, allocations: 94.66 kB / 8.142 GB, free: 7.562 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01072/28.18, allocations: 0.6499 MB / 8.143 GB, free: 7.473 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/28.19, allocations: 289.7 kB / 8.143 GB, free: 7.469 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0014/28.19, allocations: 197.7 kB / 8.143 GB, free: 7.465 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.01556/28.2, allocations: 5.453 MB / 8.149 GB, free: 7.129 MB / 1.385 GB Notification: Performance of sort global known variables: time 1.163e-06/28.2, allocations: 0 / 8.149 GB, free: 7.129 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.03176/28.24, allocations: 5.089 MB / 8.154 GB, free: 6.898 MB / 1.385 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 29 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,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) * Number of discrete variables: 7 ($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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 389 * 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%) 4,(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.02813/28.26, allocations: 14.74 MB / 8.168 GB, free: 2.172 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.02445/28.29, allocations: 9.456 MB / 8.177 GB, free: 0.8242 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 2.637e-05/28.29, allocations: 9.469 kB / 8.177 GB, free: 0.8125 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.006023/28.29, allocations: 3.231 MB / 8.18 GB, free: 15.81 MB / 1.401 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02765/28.32, allocations: 4.456 MB / 8.185 GB, free: 15.55 MB / 1.401 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05729/28.38, allocations: 17.22 MB / 8.202 GB, free: 10.88 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009228/28.39, allocations: 5.346 MB / 8.207 GB, free: 7.477 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.02194/28.41, allocations: 3.717 MB / 8.21 GB, free: 5.074 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008903/28.42, allocations: 4.54 MB / 8.215 GB, free: 4.602 MB / 1.401 GB Notification: Performance of SimCode: time 1.583e-06/28.42, allocations: 0 / 8.215 GB, free: 4.602 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.678/30.1, allocations: 312.8 MB / 8.52 GB, free: 113.1 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/30.1, allocations: 221.4 kB / 8.521 GB, free: 112.8 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/48.73, allocations: 3.938 kB / 8.521 GB, free: 112.8 MB / 1.417 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_System1_fmu --startTime=1.296e+06 --stopTime=1.3824e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.System1_res.mat does not exist to compare? outputFormat=mat