Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7676/0.7676, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 186.4 kB / 164.7 MB, free: 11.57 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008827/0.0008827, allocations: 91.27 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.916e-05, allocations: 2.219 kB / 0.5466 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1606, allocations: 76.76 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.698/4.859, allocations: 2.191 GB / 2.812 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/4.859, allocations: 93.88 kB / 2.812 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.744/10.6, allocations: 1.615 GB / 4.427 GB, free: 63.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/10.6, allocations: 3.312 kB / 4.427 GB, free: 63.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004478/10.6, allocations: 68.94 kB / 4.427 GB, free: 63.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008463/10.61, allocations: 2.491 MB / 4.43 GB, free: 62.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/10.61, allocations: 12.78 kB / 4.43 GB, free: 62.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006659/10.62, allocations: 0.8813 MB / 4.431 GB, free: 62.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008445/10.63, allocations: 2.715 MB / 4.433 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.817e-05/10.63, allocations: 43.16 kB / 4.433 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/10.63, allocations: 91.62 kB / 4.433 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002091/10.63, allocations: 1.125 MB / 4.435 GB, free: 61.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/10.63, allocations: 1.335 MB / 4.436 GB, free: 61.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/10.63, allocations: 3.469 kB / 4.436 GB, free: 61.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/10.63, allocations: 3.375 kB / 4.436 GB, free: 61.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/10.63, allocations: 44.62 kB / 4.436 GB, free: 61.66 MB / 0.698 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.00971/10.64, allocations: 7.129 MB / 4.443 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/10.64, allocations: 1.038 MB / 4.444 GB, free: 57.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/10.64, allocations: 430.9 kB / 4.444 GB, free: 57.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/10.64, allocations: 111.9 kB / 4.444 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/10.64, allocations: 46.11 kB / 4.444 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/10.65, allocations: 194.8 kB / 4.445 GB, free: 57.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 3.065e-06/10.65, allocations: 0 / 4.445 GB, free: 57.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.002995/10.65, allocations: 1.075 MB / 4.446 GB, free: 57.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/10.65, allocations: 59.25 kB / 4.446 GB, free: 57.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/10.65, allocations: 1.283 MB / 4.447 GB, free: 57.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/10.65, allocations: 25.7 kB / 4.447 GB, free: 57.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006312/10.65, allocations: 0.9858 MB / 4.448 GB, free: 56.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/10.65, allocations: 262.9 kB / 4.448 GB, free: 56.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/10.65, allocations: 0 / 4.448 GB, free: 56.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/10.65, allocations: 342.5 kB / 4.449 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/10.65, allocations: 347.4 kB / 4.449 GB, free: 56.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/10.65, allocations: 0.7361 MB / 4.45 GB, free: 55.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/10.65, allocations: 0.4908 MB / 4.45 GB, free: 55.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/10.65, allocations: 0 / 4.45 GB, free: 55.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002631/10.66, allocations: 1.298 MB / 4.451 GB, free: 55.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000715/10.66, allocations: 3.853 MB / 4.455 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/10.66, allocations: 10.44 kB / 4.455 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/10.66, allocations: 110 kB / 4.455 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/10.66, allocations: 297.2 kB / 4.456 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/10.66, allocations: 2.242 MB / 4.458 GB, free: 49.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/10.66, allocations: 117.1 kB / 4.458 GB, free: 49.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/10.66, allocations: 59.92 kB / 4.458 GB, free: 49.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/10.66, allocations: 4.312 kB / 4.458 GB, free: 49.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00219/10.67, allocations: 0.9877 MB / 4.459 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/10.67, allocations: 9.562 kB / 4.459 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/10.67, allocations: 110.2 kB / 4.459 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/10.67, allocations: 237 kB / 4.459 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/10.67, allocations: 1.638 MB / 4.461 GB, free: 48.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/10.67, allocations: 107.6 kB / 4.461 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/10.67, allocations: 59.83 kB / 4.461 GB, free: 48.34 MB / 0.698 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: 42 * 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): 117 * 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: 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.0004094/10.67, allocations: 138.9 kB / 4.461 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/10.67, allocations: 185.1 kB / 4.461 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002912/10.67, allocations: 1.035 MB / 4.462 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/10.67, allocations: 7.5 kB / 4.462 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/10.67, allocations: 6.844 kB / 4.462 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/10.68, allocations: 0.8765 MB / 4.463 GB, free: 47.83 MB / 0.698 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.006457/10.68, allocations: 2.525 MB / 4.466 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/10.68, allocations: 3.844 kB / 4.466 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/10.68, allocations: 242.6 kB / 4.466 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/10.68, allocations: 90.14 kB / 4.466 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/10.68, allocations: 14.12 kB / 4.466 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/10.69, allocations: 2.879 MB / 4.469 GB, free: 44.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/10.69, allocations: 3.938 kB / 4.469 GB, free: 44.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/10.69, allocations: 1.586 MB / 4.47 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/10.69, allocations: 331.9 kB / 4.471 GB, free: 43.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005828/10.69, allocations: 8.734 kB / 4.471 GB, free: 43.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/10.69, allocations: 120.1 kB / 4.471 GB, free: 43.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/10.69, allocations: 61.31 kB / 4.471 GB, free: 43.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/10.69, allocations: 43.42 kB / 4.471 GB, free: 43.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002323/10.7, allocations: 0.9676 MB / 4.472 GB, free: 43.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/10.7, allocations: 0 / 4.472 GB, free: 43.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006387/10.7, allocations: 1.257 MB / 4.473 GB, free: 42.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (75): * Single equations (assignments): 73 * 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: 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 Backend phase and start with SimCode phase: time 0.008223/10.71, allocations: 4.447 MB / 4.477 GB, free: 40.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004115/10.72, allocations: 1.649 MB / 4.479 GB, free: 39.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/10.72, allocations: 3.875 kB / 4.479 GB, free: 39.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/10.72, allocations: 0.5278 MB / 4.479 GB, free: 39.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/10.72, allocations: 0.8765 MB / 4.48 GB, free: 39.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/10.73, allocations: 2.625 MB / 4.483 GB, free: 38.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/10.73, allocations: 1.621 MB / 4.484 GB, free: 36.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003901/10.73, allocations: 0.6745 MB / 4.485 GB, free: 36.24 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/10.73, allocations: 118.6 kB / 4.485 GB, free: 36.14 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/10.73, allocations: 0 / 4.485 GB, free: 36.14 MB / 0.698 GB Notification: Performance of Templates: time 0.08866/10.82, allocations: 56.31 MB / 4.54 GB, free: 1.605 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)