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.001284/0.001284, allocations: 114.6 kB / 17.09 MB, free: 5.965 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.001289/0.001289, allocations: 195 kB / 18.02 MB, free: 5.051 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.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7445/0.7445, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 70.42 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1953, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.ClosedLoop_y): time 0.8278/1.023, allocations: 206 MB / 0.8339 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.047, allocations: 15.36 MB / 0.8489 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/1.05, allocations: 57.19 kB / 0.849 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005651/1.055, allocations: 1.738 MB / 0.8507 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008267/1.064, allocations: 2.635 MB / 0.8533 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004778/1.068, allocations: 1.602 MB / 0.8548 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01447/1.083, allocations: 9.159 MB / 0.8638 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/1.086, allocations: 1.417 MB / 0.8651 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005596/1.092, allocations: 2.094 MB / 0.8672 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/1.095, allocations: 1.238 MB / 0.8684 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00074/1.096, allocations: 176 kB / 0.8686 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005971/1.102, allocations: 2.725 MB / 0.8712 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/1.103, allocations: 0.7478 MB / 0.872 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/1.105, allocations: 1.073 MB / 0.873 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007795/1.113, allocations: 3.914 MB / 0.8768 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.113, allocations: 0 / 0.8768 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.984e-06/1.113, allocations: 0 / 0.8768 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001059/1.113, allocations: 0 / 0.8768 GB, free: 2.332 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.0062/1.119, allocations: 2.57 MB / 0.8793 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.119, allocations: 8.031 kB / 0.8793 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/1.123, allocations: 0.6217 MB / 0.88 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/1.129, allocations: 2.226 MB / 0.8821 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.129, allocations: 79 kB / 0.8822 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/1.13, allocations: 112 kB / 0.8823 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/1.133, allocations: 1.296 MB / 0.8836 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/1.133, allocations: 4 kB / 0.8836 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.133, allocations: 40 kB / 0.8836 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.133, allocations: 37.94 kB / 0.8837 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/1.135, allocations: 1.027 MB / 0.8847 GB, free: 10.15 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.009242/1.145, allocations: 5.52 MB / 0.89 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/1.147, allocations: 0.9163 MB / 0.8909 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.148, allocations: 490.2 kB / 0.8914 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/1.148, allocations: 114.1 kB / 0.8915 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/1.15, allocations: 0.5817 MB / 0.8921 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=68): time 4.288e-06/1.15, allocations: 0 / 0.8921 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68): time 0.004006/1.154, allocations: 1.47 MB / 0.8935 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.154, allocations: 63.89 kB / 0.8936 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.157, allocations: 1.713 MB / 0.8953 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/1.157, allocations: 49.7 kB / 0.8953 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/1.158, allocations: 0.772 MB / 0.8961 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/1.158, allocations: 240.6 kB / 0.8963 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/1.158, allocations: 290.6 kB / 0.8966 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.158, allocations: 353.9 kB / 0.8969 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.16, allocations: 0.7641 MB / 0.8976 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.161, allocations: 1.05 MB / 0.8987 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/1.164, allocations: 1.698 MB / 0.9003 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.164, allocations: 0 / 0.9003 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.00384/1.168, allocations: 2.135 MB / 0.9024 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/1.168, allocations: 39.09 kB / 0.9025 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.168, allocations: 4 kB / 0.9025 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/1.168, allocations: 156.6 kB / 0.9026 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.17, allocations: 268.1 kB / 0.9029 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008736/1.17, allocations: 1.241 MB / 0.9041 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.172, allocations: 142.6 kB / 0.9042 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/1.172, allocations: 67.97 kB / 0.9043 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00193/1.174, allocations: 1.073 MB / 0.9053 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001376/1.175, allocations: 0.9443 MB / 0.9062 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002348/1.178, allocations: 1.499 MB / 0.9077 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.512e-06/1.178, allocations: 0 / 0.9077 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization_lambda0): time 0.003712/1.182, allocations: 1.94 MB / 0.9096 GB, free: 15.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.182, allocations: 37.64 kB / 0.9096 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.182, allocations: 4 kB / 0.9096 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/1.182, allocations: 180.9 kB / 0.9098 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.183, allocations: 239.6 kB / 0.91 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005006/1.188, allocations: 3.385 MB / 0.9134 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.19, allocations: 131.2 kB / 0.9135 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.19, allocations: 59.98 kB / 0.9135 GB, free: 11.47 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.0004411/1.191, allocations: 240 kB / 0.9138 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/1.191, allocations: 169.9 kB / 0.9139 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/1.194, allocations: 1.106 MB / 0.915 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.194, allocations: 8 kB / 0.915 GB, free: 9.926 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.194, allocations: 4 kB / 0.915 GB, free: 9.922 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/1.196, allocations: 0.9747 MB / 0.916 GB, free: 8.91 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005379/1.202, allocations: 2.543 MB / 0.9185 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.202, allocations: 0 / 0.9185 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/1.203, allocations: 159.8 kB / 0.9186 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/1.203, allocations: 84.92 kB / 0.9187 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.797e-05/1.203, allocations: 31.92 kB / 0.9187 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008248/1.204, allocations: 1.216 MB / 0.9199 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.204, allocations: 8.188 kB / 0.9199 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/1.207, allocations: 1.656 MB / 0.9215 GB, free: 3.062 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/1.208, allocations: 338.8 kB / 0.9219 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/1.209, allocations: 12 kB / 0.9219 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.21, allocations: 53.27 kB / 0.9219 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.21, allocations: 52.44 kB / 0.922 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/1.21, allocations: 35.97 kB / 0.922 GB, free: 2.562 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002285/1.212, allocations: 1.151 MB / 0.9231 GB, free: 1.422 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.212, allocations: 4 kB / 0.9231 GB, free: 1.418 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003159/1.216, allocations: 0.9631 MB / 0.9241 GB, free: 464 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.001709/1.217, allocations: 0.5703 MB / 0.9246 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00515/1.222, allocations: 2.55 MB / 0.9271 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.222, allocations: 7.938 kB / 0.9271 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.224, allocations: 471.8 kB / 0.9276 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.228, allocations: 0.8719 MB / 0.9284 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/1.234, allocations: 3.257 MB / 0.9316 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.236, allocations: 1.43 MB / 0.933 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/1.237, allocations: 143.3 kB / 0.9331 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of SimCode: time 1.272e-06/1.237, allocations: 0 / 0.9331 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of Templates: time 0.05768/1.294, allocations: 46.32 MB / 0.9784 GB, free: 8.926 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)