Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y",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.466/2.466, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001768/0.001768, allocations: 173.1 kB / 498.1 MB, free: 5.762 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.669/1.669, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.001067/0.001066, allocations: 80.39 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 13.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3372, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.236/4.573, allocations: 1.948 GB / 3.171 GB, free: 37.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/4.573, allocations: 98.83 kB / 3.171 GB, free: 37.94 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.839/7.413, allocations: 0.813 GB / 3.984 GB, free: 130 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.714e-06/7.413, allocations: 0 / 3.984 GB, free: 130 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003226/7.413, allocations: 40 kB / 3.984 GB, free: 130 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.00811/7.421, allocations: 2.32 MB / 3.987 GB, free: 127.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/7.421, allocations: 12.03 kB / 3.987 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006517/7.422, allocations: 148 kB / 3.987 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003956/7.426, allocations: 0.5019 MB / 3.987 GB, free: 127 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005677/7.432, allocations: 1.87 MB / 3.989 GB, free: 125 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/7.432, allocations: 81.94 kB / 3.989 GB, free: 124.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/7.432, allocations: 111.9 kB / 3.989 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/7.435, allocations: 1.183 MB / 3.99 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/7.435, allocations: 0 / 3.99 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/7.435, allocations: 40 kB / 3.99 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/7.435, allocations: 34 kB / 3.99 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/7.437, allocations: 0.968 MB / 3.991 GB, free: 122.6 MB / 1.167 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.007316/7.444, allocations: 4.989 MB / 3.996 GB, free: 117.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/7.446, allocations: 0.9941 MB / 3.997 GB, free: 116.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/7.447, allocations: 114.6 kB / 3.997 GB, free: 116.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008751/7.447, allocations: 0.4924 MB / 3.998 GB, free: 115.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007681/7.448, allocations: 83.39 kB / 3.998 GB, free: 115.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 4.679e-06/7.448, allocations: 4 kB / 3.998 GB, free: 115.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.003307/7.452, allocations: 1.361 MB / 3.999 GB, free: 114.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/7.452, allocations: 111.5 kB / 3.999 GB, free: 114 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/7.453, allocations: 1.009 MB / 4 GB, free: 113 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/7.453, allocations: 53.7 kB / 4 GB, free: 112.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/7.454, allocations: 0.6497 MB / 4.001 GB, free: 112.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/7.454, allocations: 248.4 kB / 4.001 GB, free: 112 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/7.454, allocations: 12 kB / 4.001 GB, free: 112 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/7.454, allocations: 345.9 kB / 4.002 GB, free: 111.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/7.455, allocations: 349.8 kB / 4.002 GB, free: 111.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/7.456, allocations: 0.6168 MB / 4.003 GB, free: 110.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/7.457, allocations: 464.1 kB / 4.003 GB, free: 110.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/7.457, allocations: 4 kB / 4.003 GB, free: 110.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002186/7.459, allocations: 1.16 MB / 4.004 GB, free: 109 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003559/7.459, allocations: 2.076 MB / 4.006 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/7.459, allocations: 8 kB / 4.006 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/7.46, allocations: 68.81 kB / 4.006 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/7.461, allocations: 227.6 kB / 4.006 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005712/7.461, allocations: 1.209 MB / 4.008 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/7.463, allocations: 115.9 kB / 4.008 GB, free: 105.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/7.463, allocations: 51.97 kB / 4.008 GB, free: 105 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/7.463, allocations: 4 kB / 4.008 GB, free: 105 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002013/7.465, allocations: 1.055 MB / 4.009 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/7.465, allocations: 4 kB / 4.009 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/7.465, allocations: 113 kB / 4.009 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/7.466, allocations: 203.7 kB / 4.009 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/7.47, allocations: 2.732 MB / 4.012 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/7.471, allocations: 111.9 kB / 4.012 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/7.471, allocations: 43.98 kB / 4.012 GB, free: 100.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001058/7.473, allocations: 468.7 kB / 4.012 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/7.473, allocations: 134.3 kB / 4.013 GB, free: 99.96 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/7.475, allocations: 1.046 MB / 4.014 GB, free: 98.89 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/7.475, allocations: 8 kB / 4.014 GB, free: 98.88 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/7.475, allocations: 0 / 4.014 GB, free: 98.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001668/7.477, allocations: 0.9185 MB / 4.014 GB, free: 97.93 MB / 1.167 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.004822/7.482, allocations: 2.398 MB / 4.017 GB, free: 95.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/7.482, allocations: 0 / 4.017 GB, free: 95.44 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/7.483, allocations: 168 kB / 4.017 GB, free: 95.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002792/7.483, allocations: 88.72 kB / 4.017 GB, free: 95.18 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/7.483, allocations: 27.94 kB / 4.017 GB, free: 95.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004908/7.484, allocations: 1.189 MB / 4.018 GB, free: 93.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/7.484, allocations: 4 kB / 4.018 GB, free: 93.91 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/7.486, allocations: 1.6 MB / 4.02 GB, free: 92.24 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/7.487, allocations: 299.3 kB / 4.02 GB, free: 91.93 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/7.488, allocations: 16 kB / 4.02 GB, free: 91.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/7.489, allocations: 103.8 kB / 4.02 GB, free: 91.81 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/7.489, allocations: 56.42 kB / 4.02 GB, free: 91.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.909e-05/7.489, allocations: 31.98 kB / 4.02 GB, free: 91.73 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001365/7.49, allocations: 0.7875 MB / 4.021 GB, free: 90.94 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/7.49, allocations: 0 / 4.021 GB, free: 90.94 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003593/7.494, allocations: 1.057 MB / 4.022 GB, free: 89.88 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007226/7.501, allocations: 5.083 MB / 4.027 GB, free: 84.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00358/7.505, allocations: 1.667 MB / 4.029 GB, free: 82.87 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/7.505, allocations: 0 / 4.029 GB, free: 82.87 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009367/7.506, allocations: 448.2 kB / 4.029 GB, free: 82.43 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/7.509, allocations: 0.6314 MB / 4.03 GB, free: 81.81 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007639/7.516, allocations: 7.483 MB / 4.037 GB, free: 74.15 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008563/7.517, allocations: 1.312 MB / 4.038 GB, free: 72.81 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001561/7.519, allocations: 347.2 kB / 4.039 GB, free: 72.47 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/7.52, allocations: 0.55 MB / 4.039 GB, free: 71.92 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/7.52, allocations: 3.938 kB / 4.039 GB, free: 71.91 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09871/7.618, allocations: 72.22 MB / 4.11 GB, free: 56 kB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.6756/8.294, allocations: 247.6 kB / 4.11 GB, free: 254.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/12.63, allocations: 0 / 4.11 GB, free: 254.5 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat does not exist to compare? outputFormat=mat