Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001112/0.001112, allocations: 185 kB / 498.1 MB, free: 5.754 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.662/1.662, 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.001128/0.001128, allocations: 92.33 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004211, allocations: 6.812 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3648, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/1.751, allocations: 448.7 MB / 1.661 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/1.751, allocations: 95.44 kB / 1.661 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.583/5.334, allocations: 1.003 GB / 2.664 GB, free: 66.54 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.356e-06/5.334, allocations: 0 / 2.664 GB, free: 66.54 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004767/5.335, allocations: 55.98 kB / 2.665 GB, free: 66.48 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.009837/5.345, allocations: 2.596 MB / 2.667 GB, free: 63.82 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/5.345, allocations: 12.03 kB / 2.667 GB, free: 63.81 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007281/5.345, allocations: 173.5 kB / 2.667 GB, free: 63.63 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/5.35, allocations: 0.813 MB / 2.668 GB, free: 62.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/5.373, allocations: 9.163 MB / 2.677 GB, free: 53.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/5.373, allocations: 98.3 kB / 2.677 GB, free: 53.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/5.373, allocations: 128 kB / 2.677 GB, free: 53.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/5.377, allocations: 1.545 MB / 2.679 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/5.377, allocations: 3.938 kB / 2.679 GB, free: 51.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/5.378, allocations: 51.95 kB / 2.679 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-05/5.378, allocations: 58.12 kB / 2.679 GB, free: 51.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003351/5.381, allocations: 1.257 MB / 2.68 GB, free: 50.27 MB / 1.151 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.01182/5.393, allocations: 8.412 MB / 2.688 GB, free: 41.22 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/5.397, allocations: 1.194 MB / 2.689 GB, free: 40.01 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005533/5.403, allocations: 2.984 MB / 2.692 GB, free: 36.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/5.404, allocations: 0.5495 MB / 2.693 GB, free: 36.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001262/5.405, allocations: 187 kB / 2.693 GB, free: 36.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 5.019e-06/5.405, allocations: 0 / 2.693 GB, free: 36.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.003896/5.409, allocations: 1.363 MB / 2.694 GB, free: 34.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/5.409, allocations: 63.95 kB / 2.694 GB, free: 34.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/5.412, allocations: 1.339 MB / 2.696 GB, free: 33.19 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/5.412, allocations: 41.7 kB / 2.696 GB, free: 33.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008541/5.413, allocations: 0.8882 MB / 2.697 GB, free: 32.24 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/5.413, allocations: 236.6 kB / 2.697 GB, free: 32.01 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/5.413, allocations: 20 kB / 2.697 GB, free: 31.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/5.413, allocations: 345.9 kB / 2.697 GB, free: 31.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/5.414, allocations: 446.2 kB / 2.698 GB, free: 31.21 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/5.416, allocations: 0.88 MB / 2.699 GB, free: 30.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/5.417, allocations: 0.5416 MB / 2.699 GB, free: 29.58 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/5.417, allocations: 4 kB / 2.699 GB, free: 29.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003401/5.421, allocations: 1.457 MB / 2.7 GB, free: 28.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001229/5.422, allocations: 5.107 MB / 2.705 GB, free: 22.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/5.422, allocations: 12 kB / 2.705 GB, free: 22.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/5.422, allocations: 20 kB / 2.706 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/5.423, allocations: 303.5 kB / 2.706 GB, free: 22.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.862e-05/5.423, allocations: 23.88 kB / 2.706 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/5.425, allocations: 159.8 kB / 2.706 GB, free: 22.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/5.425, allocations: 59.98 kB / 2.706 GB, free: 22.01 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/5.425, allocations: 4 kB / 2.706 GB, free: 22.01 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002831/5.428, allocations: 1.29 MB / 2.707 GB, free: 20.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/5.428, allocations: 12 kB / 2.707 GB, free: 20.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/5.428, allocations: 20 kB / 2.707 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/5.429, allocations: 304 kB / 2.708 GB, free: 20.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/5.43, allocations: 31.91 kB / 2.708 GB, free: 20.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/5.431, allocations: 159.7 kB / 2.708 GB, free: 20.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/5.431, allocations: 59.97 kB / 2.708 GB, free: 20.14 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.001116/5.433, allocations: 0.4964 MB / 2.708 GB, free: 19.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/5.433, allocations: 169.8 kB / 2.708 GB, free: 19.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/5.436, allocations: 1.313 MB / 2.71 GB, free: 18.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/5.436, allocations: 11.98 kB / 2.71 GB, free: 18.12 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/5.436, allocations: 0 / 2.71 GB, free: 18.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/5.439, allocations: 1.195 MB / 2.711 GB, free: 16.86 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.006588/5.445, allocations: 2.745 MB / 2.714 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.445, allocations: 3.953 kB / 2.714 GB, free: 14.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/5.446, allocations: 187.8 kB / 2.714 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/5.446, allocations: 4 kB / 2.714 GB, free: 13.84 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/5.446, allocations: 27.97 kB / 2.714 GB, free: 13.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/5.446, allocations: 4 kB / 2.714 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.447, allocations: 0 / 2.714 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/5.45, allocations: 1.879 MB / 2.716 GB, free: 11.88 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/5.451, allocations: 350.6 kB / 2.716 GB, free: 11.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/5.452, allocations: 19.94 kB / 2.716 GB, free: 11.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/5.453, allocations: 139.8 kB / 2.716 GB, free: 11.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/5.453, allocations: 60.58 kB / 2.716 GB, free: 11.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-05/5.454, allocations: 31.97 kB / 2.716 GB, free: 11.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001927/5.456, allocations: 1.027 MB / 2.717 GB, free: 10.22 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.456, allocations: 0 / 2.717 GB, free: 10.22 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004689/5.46, allocations: 1.025 MB / 2.718 GB, free: 9.191 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.00692/5.467, allocations: 3.62 MB / 2.722 GB, free: 5.547 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004496/5.472, allocations: 1.877 MB / 2.724 GB, free: 3.652 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/5.472, allocations: 0 / 2.724 GB, free: 3.652 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/5.473, allocations: 0.5269 MB / 2.724 GB, free: 3.121 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/5.477, allocations: 0.7477 MB / 2.725 GB, free: 2.379 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/5.494, allocations: 13.59 MB / 2.738 GB, free: 4.473 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/5.496, allocations: 1.4 MB / 2.74 GB, free: 3.043 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003113/5.499, allocations: 470.5 kB / 2.74 GB, free: 2.578 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/5.501, allocations: 0.7413 MB / 2.741 GB, free: 1.836 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/5.501, allocations: 0 / 2.741 GB, free: 1.836 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8357/6.337, allocations: 54.91 MB / 2.794 GB, free: 199.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/6.337, allocations: 244.1 kB / 2.795 GB, free: 199.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/10.38, allocations: 2.5 kB / 2.795 GB, free: 199.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat does not exist to compare? outputFormat=mat