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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7428/0.7428, allocations: 127.4 MB / 134.9 MB, free: 3.73 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.001182/0.001182, allocations: 188.8 kB / 164.7 MB, free: 6.523 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.751/1.751, allocations: 205.2 MB / 399.5 MB, free: 5.852 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.000929/0.0009287, allocations: 87.52 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.255e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.846/6.021, allocations: 2.191 GB / 2.812 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/6.022, allocations: 94.12 kB / 2.813 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.264/12.29, allocations: 1.615 GB / 4.428 GB, free: 65.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/12.29, allocations: 1.125 kB / 4.428 GB, free: 65.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003494/12.29, allocations: 61.75 kB / 4.428 GB, free: 65.64 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.008433/12.29, allocations: 2.51 MB / 4.43 GB, free: 64.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/12.29, allocations: 10.91 kB / 4.43 GB, free: 64.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/12.3, allocations: 0.8825 MB / 4.431 GB, free: 64.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00655/12.31, allocations: 2.708 MB / 4.434 GB, free: 63.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/12.31, allocations: 54.94 kB / 4.434 GB, free: 63.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/12.31, allocations: 92.52 kB / 4.434 GB, free: 63.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002154/12.31, allocations: 1.127 MB / 4.435 GB, free: 63.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/12.31, allocations: 1.33 MB / 4.436 GB, free: 63.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/12.31, allocations: 3.906 kB / 4.436 GB, free: 63.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/12.31, allocations: 0 / 4.436 GB, free: 63.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/12.31, allocations: 53.89 kB / 4.436 GB, free: 63.71 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.01005/12.32, allocations: 7.126 MB / 4.443 GB, free: 60.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/12.32, allocations: 1.032 MB / 4.444 GB, free: 59.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/12.32, allocations: 417.7 kB / 4.445 GB, free: 59.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/12.32, allocations: 113 kB / 4.445 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/12.32, allocations: 48.12 kB / 4.445 GB, free: 59.67 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001126/12.33, allocations: 198.8 kB / 4.445 GB, free: 59.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=77): time 4.658e-06/12.33, allocations: 0 / 4.445 GB, free: 59.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=77): time 0.002958/12.33, allocations: 1.08 MB / 4.446 GB, free: 59.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/12.33, allocations: 58.47 kB / 4.446 GB, free: 59.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/12.33, allocations: 1.283 MB / 4.447 GB, free: 59.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/12.33, allocations: 25.7 kB / 4.447 GB, free: 59.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006901/12.33, allocations: 0.9855 MB / 4.448 GB, free: 58.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/12.33, allocations: 261.8 kB / 4.449 GB, free: 58.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/12.33, allocations: 0 / 4.449 GB, free: 58.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/12.33, allocations: 348.6 kB / 4.449 GB, free: 58.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/12.33, allocations: 342.7 kB / 4.449 GB, free: 58.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/12.33, allocations: 0.7364 MB / 4.45 GB, free: 57.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/12.33, allocations: 0.4937 MB / 4.45 GB, free: 57.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/12.33, allocations: 7.234 kB / 4.45 GB, free: 57.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002635/12.34, allocations: 1.309 MB / 4.452 GB, free: 57.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008526/12.34, allocations: 3.84 MB / 4.455 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/12.34, allocations: 7.656 kB / 4.455 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/12.34, allocations: 110.1 kB / 4.456 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/12.34, allocations: 295.7 kB / 4.456 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/12.34, allocations: 2.251 MB / 4.458 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/12.34, allocations: 117.9 kB / 4.458 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/12.34, allocations: 59.83 kB / 4.458 GB, free: 51.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/12.34, allocations: 4.406 kB / 4.458 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002289/12.35, allocations: 0.9852 MB / 4.459 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/12.35, allocations: 9.969 kB / 4.459 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/12.35, allocations: 105.4 kB / 4.459 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/12.35, allocations: 232.9 kB / 4.46 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/12.35, allocations: 1.644 MB / 4.461 GB, free: 50.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/12.35, allocations: 104.2 kB / 4.461 GB, free: 50.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/12.35, allocations: 53.72 kB / 4.461 GB, free: 50.67 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.0004004/12.35, allocations: 139.2 kB / 4.461 GB, free: 50.56 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002223/12.35, allocations: 0.9549 MB / 4.462 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/12.35, allocations: 185.6 kB / 4.463 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/12.36, allocations: 1.039 MB / 4.464 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/12.36, allocations: 10.12 kB / 4.464 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/12.36, allocations: 7.078 kB / 4.464 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/12.36, allocations: 0.8815 MB / 4.464 GB, free: 50.02 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.0057/12.36, allocations: 2.514 MB / 4.467 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/12.36, allocations: 0 / 4.467 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/12.37, allocations: 248.6 kB / 4.467 GB, free: 49.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/12.37, allocations: 91.08 kB / 4.467 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/12.37, allocations: 14.86 kB / 4.467 GB, free: 49.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/12.37, allocations: 2.876 MB / 4.47 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/12.37, allocations: 0 / 4.47 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/12.37, allocations: 1.582 MB / 4.472 GB, free: 46.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/12.37, allocations: 333.8 kB / 4.472 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/12.37, allocations: 7.688 kB / 4.472 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/12.37, allocations: 130.5 kB / 4.472 GB, free: 46.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/12.37, allocations: 52.5 kB / 4.472 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/12.37, allocations: 37.14 kB / 4.472 GB, free: 46.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001594/12.38, allocations: 0.969 MB / 4.473 GB, free: 46.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/12.38, allocations: 3.938 kB / 4.473 GB, free: 46.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005472/12.38, allocations: 1.262 MB / 4.474 GB, free: 46.23 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.009774/12.39, allocations: 6.731 MB / 4.481 GB, free: 43.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003484/12.39, allocations: 1.652 MB / 4.482 GB, free: 43.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/12.39, allocations: 1.438 kB / 4.482 GB, free: 43.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/12.4, allocations: 0.5305 MB / 4.483 GB, free: 43.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/12.4, allocations: 0.8705 MB / 4.484 GB, free: 43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/12.41, allocations: 3.104 MB / 4.487 GB, free: 42.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/12.41, allocations: 1.61 MB / 4.488 GB, free: 41.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00312/12.41, allocations: 0.6775 MB / 4.489 GB, free: 41.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/12.41, allocations: 0.8178 MB / 4.49 GB, free: 41.39 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/12.41, allocations: 0 / 4.49 GB, free: 41.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1381/12.55, allocations: 79.09 MB / 4.567 GB, free: 13.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/12.55, allocations: 186.6 kB / 4.567 GB, free: 13.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.082/17.63, allocations: 0 / 4.567 GB, free: 13.16 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)