Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.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.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8868/0.8868, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001257/0.001257, allocations: 176.9 kB / 182.2 MB, free: 9.453 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.466/1.466, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0008651/0.0008657, allocations: 92.05 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 287.1 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.315e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4991, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/5.206, allocations: 1.905 GB / 2.663 GB, free: 112.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/5.206, allocations: 94.2 kB / 2.663 GB, free: 112.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.072/11.28, allocations: 1.654 GB / 4.317 GB, free: 72.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.492e-06/11.28, allocations: 0 / 4.317 GB, free: 72.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003926/11.28, allocations: 61.67 kB / 4.317 GB, free: 72.69 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007949/11.29, allocations: 2.515 MB / 4.32 GB, free: 71.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/11.29, allocations: 10.66 kB / 4.32 GB, free: 71.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006003/11.29, allocations: 0.8117 MB / 4.32 GB, free: 71.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009638/11.3, allocations: 2.645 MB / 4.323 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/11.3, allocations: 50.81 kB / 4.323 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005869/11.3, allocations: 90.34 kB / 4.323 GB, free: 70.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002702/11.31, allocations: 1.135 MB / 4.324 GB, free: 70.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/11.31, allocations: 1.341 MB / 4.326 GB, free: 70.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/11.31, allocations: 0.875 kB / 4.326 GB, free: 70.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/11.31, allocations: 3.562 kB / 4.326 GB, free: 70.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/11.31, allocations: 46.33 kB / 4.326 GB, free: 70.43 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.009073/11.32, allocations: 7.205 MB / 4.333 GB, free: 66.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/11.32, allocations: 0.9836 MB / 4.334 GB, free: 66.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/11.32, allocations: 425 kB / 4.334 GB, free: 66.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/11.32, allocations: 116.4 kB / 4.334 GB, free: 66.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/11.32, allocations: 41.34 kB / 4.334 GB, free: 66.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009844/11.32, allocations: 127.4 kB / 4.334 GB, free: 66.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=81): time 3.246e-06/11.32, allocations: 0 / 4.334 GB, free: 66.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.002573/11.32, allocations: 1.086 MB / 4.335 GB, free: 66.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/11.32, allocations: 59.81 kB / 4.335 GB, free: 66.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/11.32, allocations: 1.285 MB / 4.337 GB, free: 65.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/11.32, allocations: 25.7 kB / 4.337 GB, free: 65.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/11.32, allocations: 0.9845 MB / 4.338 GB, free: 65.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/11.33, allocations: 275.9 kB / 4.338 GB, free: 65.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/11.33, allocations: 0 / 4.338 GB, free: 65.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/11.33, allocations: 347.3 kB / 4.338 GB, free: 64.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/11.33, allocations: 335.6 kB / 4.339 GB, free: 64.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/11.33, allocations: 0.756 MB / 4.339 GB, free: 64.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/11.33, allocations: 0.495 MB / 4.34 GB, free: 64.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/11.33, allocations: 3.875 kB / 4.34 GB, free: 64.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002532/11.33, allocations: 1.349 MB / 4.341 GB, free: 64.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009345/11.33, allocations: 3.942 MB / 4.345 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/11.33, allocations: 13.33 kB / 4.345 GB, free: 60.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/11.33, allocations: 132.5 kB / 4.345 GB, free: 60.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/11.33, allocations: 265.5 kB / 4.345 GB, free: 60.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/11.33, allocations: 3.398 MB / 4.349 GB, free: 57.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/11.34, allocations: 113.7 kB / 4.349 GB, free: 57.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/11.34, allocations: 60.66 kB / 4.349 GB, free: 57.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/11.34, allocations: 5.094 kB / 4.349 GB, free: 57.17 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002211/11.34, allocations: 1.119 MB / 4.35 GB, free: 56.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/11.34, allocations: 10.81 kB / 4.35 GB, free: 56.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/11.34, allocations: 137.5 kB / 4.35 GB, free: 56.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/11.34, allocations: 228.6 kB / 4.35 GB, free: 56.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/11.34, allocations: 3.071 MB / 4.353 GB, free: 53.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/11.34, allocations: 109 kB / 4.353 GB, free: 53.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/11.34, allocations: 52.7 kB / 4.353 GB, free: 53.87 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/11.34, allocations: 140.2 kB / 4.354 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/11.34, allocations: 186.9 kB / 4.354 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/11.35, allocations: 1.143 MB / 4.355 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/11.35, allocations: 6.875 kB / 4.355 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/11.35, allocations: 0 / 4.355 GB, free: 53.14 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/11.35, allocations: 0.9829 MB / 4.356 GB, free: 52.62 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.005423/11.35, allocations: 2.729 MB / 4.359 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/11.35, allocations: 3.938 kB / 4.359 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/11.36, allocations: 216.3 kB / 4.359 GB, free: 51.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/11.36, allocations: 108 kB / 4.359 GB, free: 51.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/11.36, allocations: 13.92 kB / 4.359 GB, free: 51.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/11.36, allocations: 4.69 MB / 4.363 GB, free: 46.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/11.36, allocations: 3.562 kB / 4.363 GB, free: 46.69 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/11.36, allocations: 1.706 MB / 4.365 GB, free: 45.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/11.36, allocations: 337.7 kB / 4.365 GB, free: 45.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005786/11.36, allocations: 3.625 kB / 4.365 GB, free: 45.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/11.36, allocations: 126 kB / 4.366 GB, free: 45.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/11.36, allocations: 60.47 kB / 4.366 GB, free: 45.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/11.36, allocations: 26.69 kB / 4.366 GB, free: 45.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001971/11.37, allocations: 0.9772 MB / 4.367 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/11.37, allocations: 3.75 kB / 4.367 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005714/11.37, allocations: 1.313 MB / 4.368 GB, free: 44.65 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 (77): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006706/11.38, allocations: 4.384 MB / 4.372 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003449/11.38, allocations: 1.781 MB / 4.374 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/11.38, allocations: 0 / 4.374 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008996/11.38, allocations: 0.6164 MB / 4.374 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004851/11.39, allocations: 0.8816 MB / 4.375 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/11.4, allocations: 2.661 MB / 4.378 GB, free: 35.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/11.4, allocations: 1.622 MB / 4.38 GB, free: 34.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003254/11.4, allocations: 0.6618 MB / 4.38 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/11.4, allocations: 118.4 kB / 4.38 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of SimCode: time 1.273e-06/11.4, allocations: 0 / 4.38 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of Templates: time 0.6439/12.04, allocations: 56.33 MB / 4.435 GB, free: 95.45 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)