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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00099/0.00099, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.2 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8676, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.1965/1.064, allocations: 170.2 MB / 1.12 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01646/1.081, allocations: 12.14 MB / 1.132 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/1.083, allocations: 51.69 kB / 1.132 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/1.085, allocations: 0.7154 MB / 1.132 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006152/1.091, allocations: 2.131 MB / 1.135 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00413/1.095, allocations: 1.392 MB / 1.136 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004733/1.1, allocations: 2.12 MB / 1.138 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/1.102, allocations: 1.057 MB / 1.139 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/1.106, allocations: 1.448 MB / 1.14 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/1.108, allocations: 0.7469 MB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/1.108, allocations: 56 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/1.111, allocations: 1.162 MB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/1.112, allocations: 446.6 kB / 1.143 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005357/1.113, allocations: 352.8 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/1.115, allocations: 2.143 MB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/1.115, allocations: 0 / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.404e-06/1.115, allocations: 0 / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.162e-05/1.115, allocations: 0 / 1.145 GB, free: 11.45 MB / 0.9044 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.003493/1.119, allocations: 1.871 MB / 1.147 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.119, allocations: 8.031 kB / 1.147 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002331/1.119, allocations: 156 kB / 1.147 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00336/1.122, allocations: 0.5285 MB / 1.148 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/1.125, allocations: 1.343 MB / 1.149 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/1.125, allocations: 78 kB / 1.149 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.126, allocations: 104 kB / 1.149 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.128, allocations: 1.158 MB / 1.15 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/1.128, allocations: 0 / 1.15 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/1.128, allocations: 43.98 kB / 1.15 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/1.128, allocations: 45.94 kB / 1.15 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/1.13, allocations: 0.9329 MB / 1.151 GB, free: 5.035 MB / 0.9044 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.006807/1.137, allocations: 4.908 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/1.139, allocations: 0.7876 MB / 1.157 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.216e-05/1.139, allocations: 20.55 kB / 1.157 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009498/1.14, allocations: 474.8 kB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005789/1.14, allocations: 87.41 kB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 2.826e-06/1.14, allocations: 0 / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=69): time 0.003248/1.144, allocations: 1.269 MB / 1.159 GB, free: 13.13 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.144, allocations: 59.97 kB / 1.159 GB, free: 13.06 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.145, allocations: 1.148 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/1.145, allocations: 45.64 kB / 1.16 GB, free: 11.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.146, allocations: 0.6535 MB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.146, allocations: 244.7 kB / 1.161 GB, free: 10.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/1.146, allocations: 20 kB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.146, allocations: 338 kB / 1.161 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000772/1.147, allocations: 341.8 kB / 1.161 GB, free: 10.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009313/1.148, allocations: 0.5713 MB / 1.162 GB, free: 9.586 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/1.149, allocations: 432.7 kB / 1.162 GB, free: 9.156 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.149, allocations: 4 kB / 1.162 GB, free: 9.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002787/1.152, allocations: 1.131 MB / 1.163 GB, free: 8.004 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001001/1.153, allocations: 2.164 MB / 1.166 GB, free: 5.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.153, allocations: 7.984 kB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/1.153, allocations: 84.8 kB / 1.166 GB, free: 5.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009932/1.154, allocations: 207.7 kB / 1.166 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008737/1.155, allocations: 1.22 MB / 1.167 GB, free: 4.137 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.157, allocations: 107.9 kB / 1.167 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/1.157, allocations: 51.97 kB / 1.167 GB, free: 3.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.157, allocations: 5.562 kB / 1.167 GB, free: 3.977 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/1.159, allocations: 1.053 MB / 1.168 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.159, allocations: 8.062 kB / 1.168 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/1.16, allocations: 152.7 kB / 1.168 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/1.16, allocations: 195.7 kB / 1.169 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/1.165, allocations: 2.892 MB / 1.171 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.166, allocations: 111.9 kB / 1.172 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/1.166, allocations: 43.92 kB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (98): * Single equations (assignments): 94 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009152/1.167, allocations: 460.8 kB / 1.172 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.168, allocations: 134.3 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/1.17, allocations: 0.9641 MB / 1.173 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/1.17, allocations: 8 kB / 1.173 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/1.17, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/1.172, allocations: 0.8715 MB / 1.174 GB, free: 12.82 MB / 0.9356 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.004286/1.176, allocations: 2.289 MB / 1.176 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.176, allocations: 0 / 1.176 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/1.177, allocations: 167.9 kB / 1.176 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/1.177, allocations: 76.72 kB / 1.176 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/1.177, allocations: 23.98 kB / 1.176 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007166/1.178, allocations: 1.197 MB / 1.178 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.178, allocations: 0 / 1.178 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/1.181, allocations: 1.509 MB / 1.179 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/1.181, allocations: 271.5 kB / 1.179 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.182, allocations: 23.89 kB / 1.179 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/1.182, allocations: 87.83 kB / 1.179 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.183, allocations: 52.67 kB / 1.179 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/1.183, allocations: 35.98 kB / 1.18 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00111/1.184, allocations: 0.7758 MB / 1.18 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.184, allocations: 0 / 1.18 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002173/1.186, allocations: 0.7912 MB / 1.181 GB, free: 5.285 MB / 0.9356 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 (66): * Single equations (assignments): 62 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004371/1.19, allocations: 2.672 MB / 1.184 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003513/1.194, allocations: 1.609 MB / 1.185 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/1.194, allocations: 0 / 1.185 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/1.195, allocations: 427.8 kB / 1.186 GB, free: 500 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.198, allocations: 0.6324 MB / 1.186 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.206, allocations: 7.484 MB / 1.194 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009996/1.207, allocations: 1.308 MB / 1.195 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001689/1.208, allocations: 339.2 kB / 1.195 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/1.209, allocations: 0.5657 MB / 1.196 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of SimCode: time 9.01e-07/1.209, allocations: 0 / 1.196 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/1.279, allocations: 39.32 MB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.279, allocations: 246.3 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.035, allocations: 0 / 1.234 GB, free: 14.89 MB / 0.9981 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