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: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.98 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.001025/0.001025, allocations: 188.5 kB / 327.3 MB, free: 2.215 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.961/1.961, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0008865/0.0008863, allocations: 94.3 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004194, allocations: 8.75 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.8106/1.094, allocations: 187.5 MB / 1.084 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02349/1.118, allocations: 15.24 MB / 1.099 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/1.12, allocations: 47.62 kB / 1.099 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/1.123, allocations: 0.629 MB / 1.1 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006347/1.129, allocations: 1.822 MB / 1.101 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007833/1.137, allocations: 2.192 MB / 1.103 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006539/1.144, allocations: 4.161 MB / 1.107 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/1.146, allocations: 1.048 MB / 1.109 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/1.151, allocations: 1.586 MB / 1.11 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/1.153, allocations: 1.075 MB / 1.111 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/1.153, allocations: 60.59 kB / 1.111 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/1.157, allocations: 1.558 MB / 1.113 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007094/1.158, allocations: 497.9 kB / 1.113 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009698/1.159, allocations: 357.2 kB / 1.114 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003712/1.163, allocations: 2.408 MB / 1.116 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.163, allocations: 0 / 1.116 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.456e-06/1.163, allocations: 0 / 1.116 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.124e-05/1.163, allocations: 10.06 kB / 1.116 GB, free: 19.12 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.003752/1.167, allocations: 1.952 MB / 1.118 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.167, allocations: 9.375 kB / 1.118 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/1.169, allocations: 451.3 kB / 1.118 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/1.172, allocations: 1.283 MB / 1.119 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/1.172, allocations: 82.97 kB / 1.12 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/1.172, allocations: 101.3 kB / 1.12 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/1.174, allocations: 1.196 MB / 1.121 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/1.174, allocations: 2.531 kB / 1.121 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/1.174, allocations: 46.86 kB / 1.121 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/1.174, allocations: 34.25 kB / 1.121 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/1.176, allocations: 0.8909 MB / 1.122 GB, free: 17.36 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.006526/1.183, allocations: 4.898 MB / 1.127 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.184, allocations: 0.7911 MB / 1.127 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/1.185, allocations: 424.7 kB / 1.128 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.185, allocations: 107.1 kB / 1.128 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/1.186, allocations: 479.6 kB / 1.128 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006462/1.187, allocations: 82.36 kB / 1.128 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.108e-06/1.187, allocations: 3.25 kB / 1.128 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.003114/1.19, allocations: 1.229 MB / 1.13 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/1.19, allocations: 138 kB / 1.13 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/1.192, allocations: 1.181 MB / 1.131 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.192, allocations: 43.8 kB / 1.131 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/1.193, allocations: 0.6731 MB / 1.132 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.193, allocations: 236.9 kB / 1.132 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/1.193, allocations: 18.94 kB / 1.132 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.194, allocations: 341.7 kB / 1.132 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/1.194, allocations: 345.6 kB / 1.132 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/1.195, allocations: 0.5975 MB / 1.133 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/1.196, allocations: 448.1 kB / 1.133 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.196, allocations: 2.938 kB / 1.133 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002367/1.198, allocations: 1.163 MB / 1.135 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/1.199, allocations: 277.9 kB / 1.135 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.199, allocations: 10.42 kB / 1.135 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004068/1.199, allocations: 83.11 kB / 1.135 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/1.2, allocations: 209 kB / 1.135 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009558/1.201, allocations: 1.217 MB / 1.136 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/1.202, allocations: 96.16 kB / 1.136 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.597e-05/1.202, allocations: 48.33 kB / 1.136 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.202, allocations: 2.906 kB / 1.136 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001996/1.204, allocations: 1.062 MB / 1.138 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.204, allocations: 6.094 kB / 1.138 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/1.205, allocations: 154.1 kB / 1.138 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/1.206, allocations: 178.5 kB / 1.138 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.21, allocations: 2.817 MB / 1.141 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.211, allocations: 90.61 kB / 1.141 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/1.211, allocations: 50.55 kB / 1.141 GB, free: 8.449 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.0009712/1.212, allocations: 469.6 kB / 1.141 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/1.213, allocations: 137.9 kB / 1.141 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/1.214, allocations: 0.9391 MB / 1.142 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.215, allocations: 6.031 kB / 1.142 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.215, allocations: 3.953 kB / 1.142 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/1.216, allocations: 0.8332 MB / 1.143 GB, free: 7.641 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.003962/1.22, allocations: 2.251 MB / 1.145 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.22, allocations: 7 kB / 1.145 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/1.221, allocations: 164.9 kB / 1.145 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/1.221, allocations: 78.78 kB / 1.145 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/1.221, allocations: 20.55 kB / 1.146 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007865/1.222, allocations: 1.194 MB / 1.147 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.222, allocations: 3.219 kB / 1.147 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/1.224, allocations: 1.409 MB / 1.148 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/1.225, allocations: 282.3 kB / 1.148 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.225, allocations: 14.94 kB / 1.148 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008785/1.226, allocations: 92.48 kB / 1.148 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.226, allocations: 56.42 kB / 1.148 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/1.226, allocations: 27.92 kB / 1.148 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001193/1.228, allocations: 0.8039 MB / 1.149 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.228, allocations: 0 / 1.149 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002609/1.23, allocations: 0.828 MB / 1.15 GB, free: 4.531 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.001163/1.231, allocations: 461 kB / 1.151 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003429/1.235, allocations: 1.642 MB / 1.152 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.235, allocations: 0 / 1.152 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008517/1.236, allocations: 399.5 kB / 1.153 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.239, allocations: 0.6531 MB / 1.153 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/1.244, allocations: 3.255 MB / 1.156 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/1.245, allocations: 1.294 MB / 1.158 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.245, allocations: 108.5 kB / 1.158 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of SimCode: time 1.193e-06/1.245, allocations: 0 / 1.158 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of Templates: time 0.05436/1.3, allocations: 37.92 MB / 1.195 GB, free: 13.64 MB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)