Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8655/0.8655, allocations: 141.8 MB / 149.3 MB, free: 9.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 176.8 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 84.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 265.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.744e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4267, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.151/4.577, allocations: 1.905 GB / 2.662 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/4.578, allocations: 95.83 kB / 2.662 GB, free: 153.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.756/10.33, allocations: 1.536 GB / 4.198 GB, free: 76.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/10.33, allocations: 2 kB / 4.198 GB, free: 76.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002896/10.33, allocations: 61.47 kB / 4.198 GB, free: 76.42 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008274/10.34, allocations: 2.573 MB / 4.201 GB, free: 75.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/10.34, allocations: 9.844 kB / 4.201 GB, free: 75.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006243/10.35, allocations: 0.8169 MB / 4.201 GB, free: 75.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008251/10.36, allocations: 2.999 MB / 4.204 GB, free: 74.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/10.36, allocations: 49.22 kB / 4.204 GB, free: 74.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003182/10.36, allocations: 94.53 kB / 4.205 GB, free: 74.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002493/10.36, allocations: 1.221 MB / 4.206 GB, free: 74.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/10.36, allocations: 1.415 MB / 4.207 GB, free: 74.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/10.36, allocations: 2.625 kB / 4.207 GB, free: 74.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/10.36, allocations: 2.281 kB / 4.207 GB, free: 74.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/10.36, allocations: 54.89 kB / 4.207 GB, free: 74.77 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.01214/10.37, allocations: 7.386 MB / 4.214 GB, free: 71.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/10.38, allocations: 1.187 MB / 4.216 GB, free: 70.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/10.38, allocations: 486.3 kB / 4.216 GB, free: 70.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/10.38, allocations: 111.4 kB / 4.216 GB, free: 70.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/10.38, allocations: 46.64 kB / 4.216 GB, free: 70.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001211/10.38, allocations: 126.6 kB / 4.216 GB, free: 70.76 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=85): time 3.787e-06/10.38, allocations: 0 / 4.216 GB, free: 70.76 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85): time 0.003095/10.38, allocations: 1.278 MB / 4.218 GB, free: 70.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/10.38, allocations: 59.41 kB / 4.218 GB, free: 70.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/10.38, allocations: 1.347 MB / 4.219 GB, free: 70.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.449e-05/10.38, allocations: 29.55 kB / 4.219 GB, free: 70.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/10.38, allocations: 1.001 MB / 4.22 GB, free: 70.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/10.38, allocations: 289.2 kB / 4.22 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/10.38, allocations: 2.156 kB / 4.22 GB, free: 69.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.483e-05/10.38, allocations: 349.7 kB / 4.221 GB, free: 69.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/10.39, allocations: 398.1 kB / 4.221 GB, free: 69.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/10.39, allocations: 0.827 MB / 4.222 GB, free: 69.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/10.39, allocations: 0.5675 MB / 4.222 GB, free: 69.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/10.39, allocations: 4.531 kB / 4.222 GB, free: 69.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003447/10.39, allocations: 1.589 MB / 4.224 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009705/10.39, allocations: 3.954 MB / 4.228 GB, free: 64.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/10.39, allocations: 11.66 kB / 4.228 GB, free: 64.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/10.39, allocations: 307.9 kB / 4.228 GB, free: 64.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.39, allocations: 249.2 kB / 4.228 GB, free: 64.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003561/10.4, allocations: 3.647 MB / 4.232 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/10.4, allocations: 114.8 kB / 4.232 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/10.4, allocations: 80.39 kB / 4.232 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/10.4, allocations: 3.594 kB / 4.232 GB, free: 61.91 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003311/10.4, allocations: 1.286 MB / 4.233 GB, free: 61.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/10.4, allocations: 7.562 kB / 4.233 GB, free: 61.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/10.4, allocations: 321 kB / 4.234 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/10.41, allocations: 221.8 kB / 4.234 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/10.41, allocations: 5.013 MB / 4.239 GB, free: 58.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/10.41, allocations: 105.1 kB / 4.239 GB, free: 58.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/10.41, allocations: 68.98 kB / 4.239 GB, free: 58.39 MB / 0.7448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004918/10.41, allocations: 145 kB / 4.239 GB, free: 58.28 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/10.41, allocations: 190.6 kB / 4.239 GB, free: 58.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/10.42, allocations: 1.307 MB / 4.24 GB, free: 58.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/10.42, allocations: 7.094 kB / 4.24 GB, free: 58.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/10.42, allocations: 3.953 kB / 4.24 GB, free: 58.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/10.42, allocations: 1.129 MB / 4.242 GB, free: 57.85 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.006159/10.43, allocations: 2.956 MB / 4.244 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/10.43, allocations: 0 / 4.244 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/10.43, allocations: 175.4 kB / 4.245 GB, free: 57.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/10.43, allocations: 217.2 kB / 4.245 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.128e-05/10.43, allocations: 14.09 kB / 4.245 GB, free: 57.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/10.43, allocations: 3.441 MB / 4.248 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/10.43, allocations: 3.469 kB / 4.248 GB, free: 54.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/10.43, allocations: 1.891 MB / 4.25 GB, free: 53.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/10.43, allocations: 347.9 kB / 4.25 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/10.43, allocations: 10.72 kB / 4.25 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/10.44, allocations: 116.5 kB / 4.25 GB, free: 53.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/10.44, allocations: 60.38 kB / 4.251 GB, free: 53.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/10.44, allocations: 36.84 kB / 4.251 GB, free: 53.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001648/10.44, allocations: 1.023 MB / 4.252 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/10.44, allocations: 3.938 kB / 4.252 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005179/10.44, allocations: 1.443 MB / 4.253 GB, free: 53.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006402/10.45, allocations: 4.675 MB / 4.258 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003895/10.45, allocations: 2.029 MB / 4.26 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/10.45, allocations: 3.469 kB / 4.26 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/10.45, allocations: 0.5652 MB / 4.26 GB, free: 51.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/10.46, allocations: 0.9159 MB / 4.261 GB, free: 51.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/10.46, allocations: 2.777 MB / 4.264 GB, free: 50.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/10.47, allocations: 1.662 MB / 4.265 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003293/10.47, allocations: 0.7009 MB / 4.266 GB, free: 49.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/10.47, allocations: 119.4 kB / 4.266 GB, free: 49.61 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/10.47, allocations: 0 / 4.266 GB, free: 49.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.09501/10.56, allocations: 61.94 MB / 4.327 GB, free: 45.56 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)