Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.529/2.529, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 185.5 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5767 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 90.33 kB / 0.6812 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004708, allocations: 11.5 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 106.3 MB / 0.899 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 1.039/1.249, allocations: 187.5 MB / 1.082 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03661/1.285, allocations: 15.24 MB / 1.097 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/1.288, allocations: 46.69 kB / 1.097 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003328/1.291, allocations: 0.6276 MB / 1.098 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008034/1.3, allocations: 1.832 MB / 1.1 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/1.31, allocations: 2.174 MB / 1.102 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006977/1.317, allocations: 4.196 MB / 1.106 GB, free: 3.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/1.32, allocations: 1.131 MB / 1.107 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/1.325, allocations: 1.582 MB / 1.108 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/1.328, allocations: 1.072 MB / 1.109 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005393/1.329, allocations: 63.59 kB / 1.109 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/1.335, allocations: 1.567 MB / 1.111 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/1.336, allocations: 499.2 kB / 1.111 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.337, allocations: 355.8 kB / 1.112 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005206/1.342, allocations: 2.406 MB / 1.114 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.342, allocations: 0 / 1.114 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.314e-06/1.342, allocations: 1.75 kB / 1.114 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.517e-05/1.342, allocations: 0 / 1.114 GB, free: 19.2 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.007274/1.35, allocations: 1.959 MB / 1.116 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.35, allocations: 12.77 kB / 1.116 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/1.355, allocations: 450.2 kB / 1.117 GB, free: 18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/1.359, allocations: 1.282 MB / 1.118 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.36, allocations: 83.06 kB / 1.118 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003853/1.36, allocations: 107 kB / 1.118 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/1.364, allocations: 1.182 MB / 1.119 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/1.364, allocations: 3.938 kB / 1.119 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/1.364, allocations: 47.91 kB / 1.119 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/1.364, allocations: 33.69 kB / 1.119 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.367, allocations: 0.8972 MB / 1.12 GB, free: 17.44 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.01234/1.38, allocations: 4.902 MB / 1.125 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/1.384, allocations: 0.788 MB / 1.126 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/1.385, allocations: 427.8 kB / 1.126 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.386, allocations: 107.1 kB / 1.126 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/1.387, allocations: 482.7 kB / 1.127 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009064/1.388, allocations: 83.17 kB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 4.368e-06/1.388, allocations: 0 / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.005499/1.394, allocations: 1.236 MB / 1.128 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.394, allocations: 140.3 kB / 1.128 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/1.397, allocations: 1.176 MB / 1.129 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003591/1.397, allocations: 48.89 kB / 1.129 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.398, allocations: 0.6716 MB / 1.13 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005511/1.399, allocations: 244.7 kB / 1.13 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.399, allocations: 19.81 kB / 1.13 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.399, allocations: 337.3 kB / 1.13 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.401, allocations: 346.6 kB / 1.131 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.403, allocations: 0.5933 MB / 1.131 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/1.405, allocations: 445.1 kB / 1.132 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.405, allocations: 0 / 1.132 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005582/1.41, allocations: 1.169 MB / 1.133 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003275/1.411, allocations: 281.9 kB / 1.133 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.411, allocations: 8.25 kB / 1.133 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007667/1.412, allocations: 82.14 kB / 1.133 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/1.414, allocations: 204.2 kB / 1.133 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/1.416, allocations: 1.221 MB / 1.135 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.419, allocations: 85.62 kB / 1.135 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.419, allocations: 44.55 kB / 1.135 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.419, allocations: 11.8 kB / 1.135 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004484/1.423, allocations: 1.071 MB / 1.136 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/1.424, allocations: 6.188 kB / 1.136 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/1.425, allocations: 150.1 kB / 1.136 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.427, allocations: 185.7 kB / 1.136 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008658/1.435, allocations: 2.815 MB / 1.139 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/1.438, allocations: 89.89 kB / 1.139 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.438, allocations: 37.84 kB / 1.139 GB, free: 8.645 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.001452/1.44, allocations: 475 kB / 1.139 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/1.44, allocations: 141.8 kB / 1.14 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/1.445, allocations: 0.9336 MB / 1.141 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.445, allocations: 10.41 kB / 1.141 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.445, allocations: 6.094 kB / 1.141 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00353/1.448, allocations: 0.8342 MB / 1.141 GB, free: 7.82 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.008375/1.457, allocations: 2.258 MB / 1.144 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.457, allocations: 0 / 1.144 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.459, allocations: 153.5 kB / 1.144 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/1.459, allocations: 85.23 kB / 1.144 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/1.459, allocations: 23.86 kB / 1.144 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.461, allocations: 1.197 MB / 1.145 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.461, allocations: 2.531 kB / 1.145 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005737/1.466, allocations: 1.412 MB / 1.146 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.468, allocations: 282.5 kB / 1.147 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/1.468, allocations: 18.94 kB / 1.147 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.47, allocations: 91.56 kB / 1.147 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.47, allocations: 49.38 kB / 1.147 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/1.47, allocations: 27.08 kB / 1.147 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002263/1.473, allocations: 0.8027 MB / 1.148 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.11e-07/1.473, allocations: 4 kB / 1.148 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004589/1.477, allocations: 0.8337 MB / 1.148 GB, free: 4.707 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.002117/1.479, allocations: 436.8 kB / 1.149 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006196/1.486, allocations: 1.65 MB / 1.15 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.486, allocations: 6.938 kB / 1.15 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/1.487, allocations: 399.5 kB / 1.151 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005416/1.493, allocations: 0.6577 MB / 1.151 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/1.5, allocations: 3.167 MB / 1.155 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.501, allocations: 1.285 MB / 1.156 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002422/1.504, allocations: 338.5 kB / 1.156 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/1.504, allocations: 110.2 kB / 1.156 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.504, allocations: 0 / 1.156 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.07946/1.584, allocations: 28.34 MB / 1.184 GB, free: 7.305 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1)