Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.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_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dp",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.7289/0.7289, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001144/0.001144, allocations: 176.9 kB / 164.7 MB, free: 6.516 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.759/1.759, allocations: 205.2 MB / 399.5 MB, free: 5.84 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.001128/0.001127, allocations: 86.47 kB / 476.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.107e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1725, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.77/5.943, allocations: 2.191 GB / 2.813 GB, free: 37.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/5.943, allocations: 87.95 kB / 2.813 GB, free: 37.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.325/12.27, allocations: 1.615 GB / 4.428 GB, free: 66.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.883e-06/12.27, allocations: 3.781 kB / 4.428 GB, free: 66.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002745/12.27, allocations: 63.88 kB / 4.428 GB, free: 66.52 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: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.0067/12.28, allocations: 2.521 MB / 4.431 GB, free: 65.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/12.28, allocations: 10.72 kB / 4.431 GB, free: 65.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/12.28, allocations: 0.8822 MB / 4.432 GB, free: 65.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/12.29, allocations: 2.725 MB / 4.434 GB, free: 64.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/12.29, allocations: 43.91 kB / 4.434 GB, free: 64.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/12.29, allocations: 87.91 kB / 4.434 GB, free: 64.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002156/12.29, allocations: 1.137 MB / 4.435 GB, free: 64.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/12.29, allocations: 1.346 MB / 4.437 GB, free: 64.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/12.29, allocations: 3 kB / 4.437 GB, free: 64.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/12.29, allocations: 0 / 4.437 GB, free: 64.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/12.29, allocations: 50.03 kB / 4.437 GB, free: 64.68 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.009303/12.3, allocations: 7.202 MB / 4.444 GB, free: 60.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/12.3, allocations: 1.057 MB / 4.445 GB, free: 60.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/12.31, allocations: 431 kB / 4.445 GB, free: 60.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/12.31, allocations: 107.6 kB / 4.445 GB, free: 60.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/12.31, allocations: 44.66 kB / 4.445 GB, free: 60.62 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001021/12.31, allocations: 121.3 kB / 4.446 GB, free: 60.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.246e-06/12.31, allocations: 0 / 4.446 GB, free: 60.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.0038/12.31, allocations: 1.19 MB / 4.447 GB, free: 60.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/12.31, allocations: 59.78 kB / 4.447 GB, free: 60.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/12.31, allocations: 1.297 MB / 4.448 GB, free: 60.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/12.31, allocations: 29.61 kB / 4.448 GB, free: 60.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/12.31, allocations: 0.9794 MB / 4.449 GB, free: 59.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/12.31, allocations: 268.6 kB / 4.449 GB, free: 59.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/12.31, allocations: 0 / 4.449 GB, free: 59.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/12.31, allocations: 348.6 kB / 4.45 GB, free: 59.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/12.31, allocations: 347.2 kB / 4.45 GB, free: 59.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/12.31, allocations: 0.7435 MB / 4.451 GB, free: 58.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/12.32, allocations: 0.4958 MB / 4.451 GB, free: 58.79 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/12.32, allocations: 3.219 kB / 4.451 GB, free: 58.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003649/12.32, allocations: 1.421 MB / 4.453 GB, free: 58.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001076/12.32, allocations: 3.844 MB / 4.456 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/12.32, allocations: 12.81 kB / 4.456 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/12.32, allocations: 153.2 kB / 4.456 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/12.32, allocations: 328.7 kB / 4.457 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/12.33, allocations: 3.428 MB / 4.46 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/12.33, allocations: 111.9 kB / 4.46 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/12.33, allocations: 64.27 kB / 4.46 GB, free: 51.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/12.33, allocations: 2.219 kB / 4.46 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002394/12.33, allocations: 1.11 MB / 4.461 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/12.33, allocations: 10.86 kB / 4.461 GB, free: 51.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/12.33, allocations: 138.5 kB / 4.462 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/12.33, allocations: 234.1 kB / 4.462 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/12.33, allocations: 3.036 MB / 4.465 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/12.34, allocations: 98.95 kB / 4.465 GB, free: 49.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/12.34, allocations: 54.86 kB / 4.465 GB, free: 49.1 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 (120): * Single equations (assignments): 114 * 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.0003751/12.34, allocations: 151.1 kB / 4.465 GB, free: 48.98 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002892/12.34, allocations: 1.052 MB / 4.466 GB, free: 48.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/12.34, allocations: 185 kB / 4.466 GB, free: 48.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/12.34, allocations: 1.146 MB / 4.467 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/12.34, allocations: 8.531 kB / 4.467 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/12.34, allocations: 4.438 kB / 4.467 GB, free: 48.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002385/12.35, allocations: 0.9866 MB / 4.468 GB, free: 48.42 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.005834/12.35, allocations: 2.656 MB / 4.471 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/12.35, allocations: 0 / 4.471 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/12.35, allocations: 289.1 kB / 4.471 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/12.35, allocations: 130.5 kB / 4.471 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/12.35, allocations: 18.05 kB / 4.471 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/12.36, allocations: 5.783 MB / 4.477 GB, free: 42.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/12.36, allocations: 0.7812 kB / 4.477 GB, free: 42.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00371/12.36, allocations: 1.699 MB / 4.479 GB, free: 42.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/12.36, allocations: 333.6 kB / 4.479 GB, free: 42.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/12.36, allocations: 9.672 kB / 4.479 GB, free: 42.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/12.37, allocations: 129.5 kB / 4.479 GB, free: 42.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/12.37, allocations: 55.8 kB / 4.479 GB, free: 42.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/12.37, allocations: 38.91 kB / 4.479 GB, free: 42.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001584/12.37, allocations: 0.9706 MB / 4.48 GB, free: 42.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.064e-06/12.37, allocations: 0 / 4.48 GB, free: 42.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005432/12.37, allocations: 1.296 MB / 4.481 GB, free: 41.96 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 (74): * Single equations (assignments): 70 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.01153/12.38, allocations: 6.846 MB / 4.488 GB, free: 39.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004096/12.39, allocations: 1.844 MB / 4.49 GB, free: 38.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/12.39, allocations: 0 / 4.49 GB, free: 38.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/12.39, allocations: 0.7059 MB / 4.491 GB, free: 38.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/12.4, allocations: 0.8886 MB / 4.491 GB, free: 38.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/12.4, allocations: 3.128 MB / 4.494 GB, free: 37.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/12.4, allocations: 1.628 MB / 4.496 GB, free: 36.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002585/12.4, allocations: 0.6606 MB / 4.497 GB, free: 36.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008866/12.41, allocations: 0.8193 MB / 4.497 GB, free: 36.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/12.41, allocations: 0.75 kB / 4.497 GB, free: 36.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1266/12.53, allocations: 80.81 MB / 4.576 GB, free: 17.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/12.53, allocations: 181.8 kB / 4.577 GB, free: 17.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.178/17.71, allocations: 0 / 4.577 GB, free: 17.58 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)