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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8101/0.8101, allocations: 141.8 MB / 149.3 MB, free: 9.18 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.001113/0.001113, allocations: 172.8 kB / 182.2 MB, free: 9.445 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.469/1.469, 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.0009323/0.0009322, allocations: 83.88 kB / 0.5074 GB, free: 10.12 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: 268.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.216e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4601, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.962/4.422, allocations: 1.905 GB / 2.663 GB, free: 112.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/4.423, allocations: 85.83 kB / 2.663 GB, free: 112.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.763/10.19, allocations: 1.654 GB / 4.317 GB, free: 72.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/10.19, allocations: 0 / 4.317 GB, free: 72.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002368/10.19, allocations: 61.3 kB / 4.317 GB, free: 72.51 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.005826/10.19, allocations: 2.525 MB / 4.32 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/10.19, allocations: 9.625 kB / 4.32 GB, free: 71.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/10.2, allocations: 0.8111 MB / 4.321 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006249/10.2, allocations: 2.649 MB / 4.323 GB, free: 70.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/10.2, allocations: 42.56 kB / 4.323 GB, free: 70.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/10.2, allocations: 93.94 kB / 4.323 GB, free: 70.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002039/10.21, allocations: 1.13 MB / 4.324 GB, free: 70.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/10.21, allocations: 1.34 MB / 4.326 GB, free: 70.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/10.21, allocations: 11.06 kB / 4.326 GB, free: 70.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/10.21, allocations: 2.781 kB / 4.326 GB, free: 70.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/10.21, allocations: 47.08 kB / 4.326 GB, free: 70.25 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.008744/10.22, allocations: 7.194 MB / 4.333 GB, free: 66.49 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/10.22, allocations: 0.9888 MB / 4.334 GB, free: 66.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/10.22, allocations: 429.6 kB / 4.334 GB, free: 66.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/10.22, allocations: 106.8 kB / 4.334 GB, free: 66.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/10.22, allocations: 44.12 kB / 4.334 GB, free: 66.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/10.22, allocations: 129.4 kB / 4.334 GB, free: 66.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=81): time 4.348e-06/10.22, allocations: 0 / 4.334 GB, free: 66.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.00263/10.22, allocations: 1.081 MB / 4.335 GB, free: 65.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/10.22, allocations: 59.19 kB / 4.336 GB, free: 65.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/10.22, allocations: 1.294 MB / 4.337 GB, free: 65.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.296e-05/10.22, allocations: 29.61 kB / 4.337 GB, free: 65.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/10.22, allocations: 0.9773 MB / 4.338 GB, free: 65.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/10.22, allocations: 273.6 kB / 4.338 GB, free: 65.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/10.23, allocations: 2.438 kB / 4.338 GB, free: 65.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/10.23, allocations: 351.6 kB / 4.338 GB, free: 64.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/10.23, allocations: 338.4 kB / 4.339 GB, free: 64.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/10.23, allocations: 0.7557 MB / 4.339 GB, free: 64.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/10.23, allocations: 0.4924 MB / 4.34 GB, free: 64.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/10.23, allocations: 3.844 kB / 4.34 GB, free: 64.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002587/10.23, allocations: 1.355 MB / 4.341 GB, free: 64.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006942/10.23, allocations: 3.937 MB / 4.345 GB, free: 59.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/10.23, allocations: 14.89 kB / 4.345 GB, free: 59.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/10.23, allocations: 140.8 kB / 4.345 GB, free: 59.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/10.23, allocations: 260 kB / 4.345 GB, free: 59.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/10.23, allocations: 3.396 MB / 4.349 GB, free: 56.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/10.24, allocations: 120.3 kB / 4.349 GB, free: 56.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/10.24, allocations: 56.72 kB / 4.349 GB, free: 56.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/10.24, allocations: 3.906 kB / 4.349 GB, free: 56.89 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009318/10.25, allocations: 1.116 MB / 4.35 GB, free: 56.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/10.25, allocations: 11.22 kB / 4.35 GB, free: 56.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/10.25, allocations: 139 kB / 4.35 GB, free: 56.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009113/10.25, allocations: 232.1 kB / 4.35 GB, free: 56.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/10.25, allocations: 3.065 MB / 4.353 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/10.25, allocations: 104 kB / 4.353 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/10.25, allocations: 50.52 kB / 4.354 GB, free: 53.57 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.0003736/10.25, allocations: 142.6 kB / 4.354 GB, free: 53.44 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002233/10.25, allocations: 0.9929 MB / 4.355 GB, free: 53.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/10.25, allocations: 186.8 kB / 4.355 GB, free: 52.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/10.26, allocations: 1.141 MB / 4.356 GB, free: 52.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/10.26, allocations: 11.61 kB / 4.356 GB, free: 52.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/10.26, allocations: 0 / 4.356 GB, free: 52.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/10.26, allocations: 0.9842 MB / 4.357 GB, free: 51.93 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.005101/10.26, allocations: 2.728 MB / 4.36 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/10.26, allocations: 0 / 4.36 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/10.27, allocations: 211.9 kB / 4.36 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/10.27, allocations: 110.4 kB / 4.36 GB, free: 50.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/10.27, allocations: 10.81 kB / 4.36 GB, free: 50.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/10.27, allocations: 4.687 MB / 4.364 GB, free: 46.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/10.27, allocations: 6.969 kB / 4.364 GB, free: 46.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/10.27, allocations: 1.707 MB / 4.366 GB, free: 45.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/10.27, allocations: 333.7 kB / 4.366 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/10.27, allocations: 6.234 kB / 4.366 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/10.27, allocations: 119.9 kB / 4.367 GB, free: 44.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/10.27, allocations: 62.69 kB / 4.367 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/10.27, allocations: 29.95 kB / 4.367 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001335/10.27, allocations: 0.9732 MB / 4.368 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/10.27, allocations: 0 / 4.368 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00462/10.28, allocations: 1.326 MB / 4.369 GB, free: 43.64 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.009788/10.29, allocations: 6.853 MB / 4.376 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004137/10.29, allocations: 1.782 MB / 4.377 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/10.29, allocations: 0 / 4.377 GB, free: 35.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/10.29, allocations: 0.6246 MB / 4.378 GB, free: 35.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/10.3, allocations: 0.8826 MB / 4.379 GB, free: 34.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/10.31, allocations: 3.138 MB / 4.382 GB, free: 31.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/10.31, allocations: 1.624 MB / 4.383 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00297/10.31, allocations: 0.6645 MB / 4.384 GB, free: 29.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008959/10.31, allocations: 0.807 MB / 4.385 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/10.31, allocations: 4 kB / 4.385 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.735/11.05, allocations: 79.14 MB / 4.462 GB, free: 90.07 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/11.05, allocations: 184.5 kB / 4.462 GB, free: 89.88 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.89/15.94, allocations: 3.312 kB / 4.462 GB, free: 89.88 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_dp.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)