Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") translateModel(IBPSA.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 117 kB / 17.09 MB, free: 5.938 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.001922/0.001922, allocations: 198.9 kB / 18.02 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7346/0.7346, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.11 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1712, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.6607/0.832, allocations: 206 MB / 0.8339 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02383/0.8558, allocations: 15.37 MB / 0.8489 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003162/0.8591, allocations: 58.75 kB / 0.849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005492/0.8646, allocations: 1.762 MB / 0.8507 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.8743, allocations: 2.718 MB / 0.8534 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00707/0.8814, allocations: 1.615 MB / 0.8549 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01634/0.8978, allocations: 9.169 MB / 0.8639 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.9013, allocations: 1.414 MB / 0.8653 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006501/0.9079, allocations: 2.121 MB / 0.8674 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003895/0.9118, allocations: 1.25 MB / 0.8686 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009772/0.9128, allocations: 176 kB / 0.8687 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007454/0.9203, allocations: 2.729 MB / 0.8714 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.9219, allocations: 0.7362 MB / 0.8721 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.9252, allocations: 1.077 MB / 0.8732 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.936, allocations: 3.922 MB / 0.877 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.936, allocations: 0 / 0.877 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9361, allocations: 0 / 0.877 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001388/0.9362, allocations: 0 / 0.877 GB, free: 2.215 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.008389/0.9446, allocations: 2.562 MB / 0.8795 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.9447, allocations: 8.031 kB / 0.8795 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/0.9491, allocations: 0.6217 MB / 0.8801 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.9552, allocations: 2.222 MB / 0.8823 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.9553, allocations: 78 kB / 0.8824 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.9558, allocations: 111.9 kB / 0.8825 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.9591, allocations: 1.3 MB / 0.8837 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.9592, allocations: 4 kB / 0.8837 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.9593, allocations: 39.98 kB / 0.8838 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.9594, allocations: 37.94 kB / 0.8838 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.9621, allocations: 1.023 MB / 0.8848 GB, free: 10.04 MB / 0.6387 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.009648/0.9717, allocations: 5.527 MB / 0.8902 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.9743, allocations: 0.9043 MB / 0.8911 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.9754, allocations: 494.3 kB / 0.8916 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.9757, allocations: 106.1 kB / 0.8917 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.9769, allocations: 0.5852 MB / 0.8922 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=68): time 3.266e-06/0.977, allocations: 4 kB / 0.8923 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68): time 0.004237/0.9812, allocations: 1.461 MB / 0.8937 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.9813, allocations: 63.91 kB / 0.8937 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.985, allocations: 1.721 MB / 0.8954 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/0.9852, allocations: 41.7 kB / 0.8955 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009641/0.9862, allocations: 0.7759 MB / 0.8962 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.9865, allocations: 244.5 kB / 0.8965 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/0.9871, allocations: 294.6 kB / 0.8967 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9873, allocations: 353.9 kB / 0.8971 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.9888, allocations: 0.768 MB / 0.8978 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/0.9904, allocations: 1.043 MB / 0.8988 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.9933, allocations: 1.702 MB / 0.9005 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.9934, allocations: 0 / 0.9005 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004145/0.9975, allocations: 2.132 MB / 0.9026 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.9976, allocations: 35.73 kB / 0.9026 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.9976, allocations: 7.938 kB / 0.9026 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/0.9982, allocations: 168.7 kB / 0.9028 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.9994, allocations: 263.7 kB / 0.903 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/1, allocations: 1.228 MB / 0.9042 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/1.002, allocations: 158.8 kB / 0.9044 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.002, allocations: 59.98 kB / 0.9044 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002033/1.004, allocations: 1.077 MB / 0.9055 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001442/1.006, allocations: 0.9404 MB / 0.9064 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002477/1.008, allocations: 1.499 MB / 0.9079 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.542e-06/1.008, allocations: 0 / 0.9079 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003945/1.012, allocations: 1.929 MB / 0.9098 GB, free: 15.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/1.012, allocations: 42.03 kB / 0.9098 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.012, allocations: 12 kB / 0.9098 GB, free: 15.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006622/1.013, allocations: 176.7 kB / 0.91 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.014, allocations: 247.6 kB / 0.9102 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/1.019, allocations: 3.388 MB / 0.9135 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.021, allocations: 127.1 kB / 0.9136 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.021, allocations: 51.98 kB / 0.9137 GB, free: 11.37 MB / 0.67 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004387/1.022, allocations: 245.6 kB / 0.9139 GB, free: 11.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/1.022, allocations: 161.9 kB / 0.9141 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/1.025, allocations: 1.118 MB / 0.9152 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.025, allocations: 4 kB / 0.9152 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.025, allocations: 4 kB / 0.9152 GB, free: 9.812 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/1.027, allocations: 0.9749 MB / 0.9161 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/1.033, allocations: 2.547 MB / 0.9186 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.033, allocations: 4 kB / 0.9186 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009265/1.034, allocations: 163.8 kB / 0.9188 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/1.034, allocations: 84.8 kB / 0.9189 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/1.034, allocations: 28.05 kB / 0.9189 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007307/1.035, allocations: 1.22 MB / 0.9201 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.035, allocations: 4.031 kB / 0.9201 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/1.038, allocations: 1.652 MB / 0.9217 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008016/1.039, allocations: 342.7 kB / 0.922 GB, free: 2.594 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/1.04, allocations: 19.98 kB / 0.922 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.041, allocations: 43.95 kB / 0.9221 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.041, allocations: 56.44 kB / 0.9221 GB, free: 2.477 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/1.041, allocations: 31.98 kB / 0.9222 GB, free: 2.445 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002198/1.043, allocations: 1.154 MB / 0.9233 GB, free: 1.301 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.4e-07/1.043, allocations: 0 / 0.9233 GB, free: 1.301 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003292/1.046, allocations: 0.9709 MB / 0.9242 GB, free: 336 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/1.048, allocations: 0.5555 MB / 0.9248 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005416/1.054, allocations: 2.558 MB / 0.9273 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.054, allocations: 0 / 0.9273 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.055, allocations: 475.8 kB / 0.9277 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.059, allocations: 0.8619 MB / 0.9286 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/1.066, allocations: 3.258 MB / 0.9318 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.067, allocations: 1.434 MB / 0.9332 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004926/1.068, allocations: 131.4 kB / 0.9333 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of SimCode: time 8.32e-07/1.068, allocations: 4 kB / 0.9333 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of Templates: time 0.06936/1.137, allocations: 46.32 MB / 0.9785 GB, free: 8.816 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)