Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 183 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008427/0.0008426, allocations: 82.05 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004449, allocations: 9.344 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8001/1.042, allocations: 170.5 MB / 1.067 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02333/1.066, allocations: 14.7 MB / 1.081 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/1.068, allocations: 47.67 kB / 1.081 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003181/1.071, allocations: 0.7677 MB / 1.082 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008937/1.08, allocations: 2.105 MB / 1.084 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009624/1.09, allocations: 2.355 MB / 1.086 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005496/1.095, allocations: 2.165 MB / 1.088 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/1.098, allocations: 1.07 MB / 1.089 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004369/1.102, allocations: 1.481 MB / 1.091 GB, free: 3.293 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/1.104, allocations: 0.7503 MB / 1.091 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003448/1.105, allocations: 58.75 kB / 1.092 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/1.11, allocations: 1.266 MB / 1.093 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.111, allocations: 454.4 kB / 1.093 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/1.113, allocations: 355.9 kB / 1.094 GB, free: 19.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/1.117, allocations: 2.263 MB / 1.096 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/1.118, allocations: 0 / 1.096 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.106e-06/1.118, allocations: 0 / 1.096 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.423e-05/1.118, allocations: 4 kB / 1.096 GB, free: 19.08 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004441/1.122, allocations: 1.907 MB / 1.098 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.122, allocations: 11.03 kB / 1.098 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002794/1.122, allocations: 156.1 kB / 1.098 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/1.125, allocations: 448.3 kB / 1.098 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00299/1.128, allocations: 1.324 MB / 1.1 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/1.128, allocations: 79.03 kB / 1.1 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/1.129, allocations: 105.4 kB / 1.1 GB, free: 17.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/1.131, allocations: 1.176 MB / 1.101 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/1.131, allocations: 0 / 1.101 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.131, allocations: 42.94 kB / 1.101 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.131, allocations: 35.75 kB / 1.101 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.133, allocations: 0.8788 MB / 1.102 GB, free: 17.32 MB / 0.7136 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.007741/1.14, allocations: 4.884 MB / 1.107 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.142, allocations: 0.7742 MB / 1.107 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/1.142, allocations: 11.84 kB / 1.107 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/1.143, allocations: 463.2 kB / 1.108 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006443/1.144, allocations: 80.72 kB / 1.108 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 3.516e-06/1.144, allocations: 7.938 kB / 1.108 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.003171/1.147, allocations: 1.211 MB / 1.109 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.147, allocations: 140.7 kB / 1.109 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/1.149, allocations: 1.17 MB / 1.11 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001233/1.149, allocations: 44.42 kB / 1.11 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.15, allocations: 0.668 MB / 1.111 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.15, allocations: 240.8 kB / 1.111 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/1.15, allocations: 17.19 kB / 1.111 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.15, allocations: 341.8 kB / 1.112 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/1.151, allocations: 335.2 kB / 1.112 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/1.151, allocations: 0.5833 MB / 1.112 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/1.152, allocations: 448 kB / 1.113 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.152, allocations: 3.312 kB / 1.113 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002366/1.155, allocations: 1.145 MB / 1.114 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009287/1.156, allocations: 2.159 MB / 1.116 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.156, allocations: 10.38 kB / 1.116 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/1.156, allocations: 88.28 kB / 1.116 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/1.157, allocations: 203.6 kB / 1.116 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/1.158, allocations: 1.219 MB / 1.118 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.159, allocations: 89.14 kB / 1.118 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/1.16, allocations: 46.19 kB / 1.118 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.16, allocations: 2.469 kB / 1.118 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00199/1.162, allocations: 1.061 MB / 1.119 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.162, allocations: 5.375 kB / 1.119 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/1.162, allocations: 152.3 kB / 1.119 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/1.163, allocations: 181.6 kB / 1.119 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/1.167, allocations: 2.889 MB / 1.122 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.169, allocations: 85.42 kB / 1.122 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.169, allocations: 46.22 kB / 1.122 GB, free: 7.773 MB / 0.7136 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 (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001079/1.17, allocations: 473.8 kB / 1.122 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.17, allocations: 133.7 kB / 1.123 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/1.173, allocations: 0.9223 MB / 1.123 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.173, allocations: 5.844 kB / 1.124 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.173, allocations: 3.062 kB / 1.124 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/1.174, allocations: 0.8266 MB / 1.124 GB, free: 7.168 MB / 0.7136 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.005395/1.18, allocations: 2.222 MB / 1.126 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.18, allocations: 1.094 kB / 1.126 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/1.181, allocations: 155.4 kB / 1.127 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/1.181, allocations: 89.77 kB / 1.127 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/1.181, allocations: 20.16 kB / 1.127 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009239/1.182, allocations: 1.193 MB / 1.128 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.182, allocations: 1.781 kB / 1.128 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/1.185, allocations: 1.433 MB / 1.129 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008104/1.186, allocations: 277.1 kB / 1.13 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/1.186, allocations: 17.94 kB / 1.13 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/1.187, allocations: 109 kB / 1.13 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.187, allocations: 41.38 kB / 1.13 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.187, allocations: 32.2 kB / 1.13 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001248/1.188, allocations: 0.7922 MB / 1.131 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.188, allocations: 1.75 kB / 1.131 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002776/1.191, allocations: 0.8317 MB / 1.131 GB, free: 3.984 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[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.004517/1.196, allocations: 2.579 MB / 1.134 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003709/1.199, allocations: 1.62 MB / 1.135 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.199, allocations: 0 / 1.135 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008371/1.2, allocations: 397.8 kB / 1.136 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.204, allocations: 0.6369 MB / 1.136 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.217, allocations: 7.505 MB / 1.144 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.218, allocations: 1.331 MB / 1.145 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002049/1.221, allocations: 331.3 kB / 1.145 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.222, allocations: 0.5804 MB / 1.146 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of SimCode: time 7.81e-07/1.222, allocations: 0 / 1.146 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08395/1.306, allocations: 40.57 MB / 1.186 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.306, allocations: 262.5 kB / 1.186 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/4.739, allocations: 0 / 1.186 GB, free: 8.781 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_ClosedLoop_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)