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.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.00159/0.00159, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.675/1.675, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001049/0.001049, allocations: 99.48 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.145e-05/6.157e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2863, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.331, allocations: 1.948 GB / 3.161 GB, free: 322.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.331, allocations: 88.14 kB / 3.161 GB, free: 322.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.015/8.346, allocations: 0.8123 GB / 3.973 GB, free: 228.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.293e-06/8.346, allocations: 0 / 3.973 GB, free: 228.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003366/8.346, allocations: 43.39 kB / 3.973 GB, free: 228.4 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.006913/8.353, allocations: 1.827 MB / 3.975 GB, free: 227.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/8.353, allocations: 15.64 kB / 3.975 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005631/8.354, allocations: 145.7 kB / 3.975 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/8.358, allocations: 0.5007 MB / 3.976 GB, free: 227.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/8.363, allocations: 1.85 MB / 3.977 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/8.363, allocations: 75 kB / 3.977 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/8.364, allocations: 112.8 kB / 3.978 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/8.366, allocations: 1.111 MB / 3.979 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/8.366, allocations: 0 / 3.979 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/8.366, allocations: 45.81 kB / 3.979 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/8.367, allocations: 35.19 kB / 3.979 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/8.368, allocations: 0.832 MB / 3.979 GB, free: 227.2 MB / 1.151 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.009056/8.377, allocations: 4.995 MB / 3.984 GB, free: 225 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/8.379, allocations: 0.8562 MB / 3.985 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/8.38, allocations: 367.1 kB / 3.986 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/8.38, allocations: 102.3 kB / 3.986 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/8.381, allocations: 447.6 kB / 3.986 GB, free: 224.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008506/8.381, allocations: 92.66 kB / 3.986 GB, free: 224.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 6.051e-06/8.381, allocations: 0 / 3.986 GB, free: 224.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001906/8.383, allocations: 0.8125 MB / 3.987 GB, free: 224.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/8.383, allocations: 110.5 kB / 3.987 GB, free: 224.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/8.385, allocations: 1 MB / 3.988 GB, free: 224.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/8.385, allocations: 42.73 kB / 3.988 GB, free: 224.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/8.386, allocations: 0.6553 MB / 3.989 GB, free: 224 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/8.386, allocations: 250.6 kB / 3.989 GB, free: 223.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/8.386, allocations: 16.97 kB / 3.989 GB, free: 223.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/8.386, allocations: 338.5 kB / 3.989 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/8.387, allocations: 287.9 kB / 3.99 GB, free: 223.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/8.387, allocations: 0.5509 MB / 3.99 GB, free: 223.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/8.388, allocations: 400.6 kB / 3.99 GB, free: 223.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/8.388, allocations: 3.188 kB / 3.991 GB, free: 223.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001619/8.389, allocations: 1.038 MB / 3.992 GB, free: 223.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004216/8.39, allocations: 2.065 MB / 3.994 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/8.39, allocations: 7.844 kB / 3.994 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/8.39, allocations: 72.75 kB / 3.994 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/8.391, allocations: 225.1 kB / 3.994 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005861/8.392, allocations: 1.209 MB / 3.995 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/8.393, allocations: 114.2 kB / 3.995 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/8.393, allocations: 52.81 kB / 3.995 GB, free: 219.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/8.393, allocations: 3.781 kB / 3.995 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001579/8.395, allocations: 0.9326 MB / 3.996 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/8.395, allocations: 7.406 kB / 3.996 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/8.395, allocations: 110.9 kB / 3.996 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007775/8.396, allocations: 200.8 kB / 3.996 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/8.4, allocations: 2.678 MB / 3.999 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/8.401, allocations: 114.5 kB / 3.999 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/8.401, allocations: 44.75 kB / 3.999 GB, free: 218.1 MB / 1.151 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 () * 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.0002408/8.401, allocations: 168.6 kB / 3.999 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/8.401, allocations: 134.8 kB / 3.999 GB, free: 217.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/8.403, allocations: 0.9121 MB / 4 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/8.403, allocations: 7.344 kB / 4 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/8.403, allocations: 0 / 4 GB, free: 217.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/8.405, allocations: 0.8095 MB / 4.001 GB, free: 217.6 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.004105/8.409, allocations: 2.286 MB / 4.003 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/8.409, allocations: 3.531 kB / 4.003 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/8.41, allocations: 168.7 kB / 4.004 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/8.41, allocations: 83.89 kB / 4.004 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/8.41, allocations: 24.64 kB / 4.004 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004967/8.41, allocations: 1.19 MB / 4.005 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/8.41, allocations: 3.562 kB / 4.005 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/8.412, allocations: 1.417 MB / 4.006 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/8.413, allocations: 286 kB / 4.006 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/8.413, allocations: 18.62 kB / 4.006 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/8.414, allocations: 110.7 kB / 4.007 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/8.415, allocations: 54.45 kB / 4.007 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/8.415, allocations: 29.02 kB / 4.007 GB, free: 215.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001156/8.416, allocations: 0.778 MB / 4.007 GB, free: 215.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/8.416, allocations: 0 / 4.007 GB, free: 215.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003726/8.42, allocations: 1.053 MB / 4.008 GB, free: 215.3 MB / 1.151 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) * 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.006771/8.426, allocations: 4.905 MB / 4.013 GB, free: 213.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002696/8.429, allocations: 1.519 MB / 4.015 GB, free: 213 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/8.429, allocations: 3.781 kB / 4.015 GB, free: 213 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006665/8.43, allocations: 385.3 kB / 4.015 GB, free: 213 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003064/8.433, allocations: 0.627 MB / 4.016 GB, free: 212.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/8.439, allocations: 2.494 MB / 4.018 GB, free: 212.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009738/8.44, allocations: 1.314 MB / 4.019 GB, free: 211.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002198/8.442, allocations: 0.496 MB / 4.02 GB, free: 211.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/8.443, allocations: 0.5339 MB / 4.02 GB, free: 211.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.233e-06/8.443, allocations: 3.062 kB / 4.02 GB, free: 211.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/8.574, allocations: 80.58 MB / 4.099 GB, free: 208.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/8.575, allocations: 211.4 kB / 4.099 GB, free: 208.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.928/13.5, allocations: 0 / 4.099 GB, free: 208.4 MB / 1.151 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