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.6824/0.6823, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 184.6 kB / 187.3 MB, free: 11.88 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.232/1.232, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007983/0.0007982, allocations: 94.39 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 272.4 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.271e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3328, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.54/3.873, allocations: 1.906 GB / 2.67 GB, free: 113.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/3.873, allocations: 89.89 kB / 2.67 GB, free: 113.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.235/9.108, allocations: 1.673 GB / 4.343 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/9.108, allocations: 0 / 4.343 GB, free: 66.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001964/9.108, allocations: 59.41 kB / 4.343 GB, free: 66.29 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.004583/9.113, allocations: 2.524 MB / 4.346 GB, free: 64.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/9.113, allocations: 10.5 kB / 4.346 GB, free: 64.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/9.113, allocations: 206 kB / 4.346 GB, free: 64.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/9.118, allocations: 0.8137 MB / 4.347 GB, free: 64.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005207/9.123, allocations: 2.642 MB / 4.349 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/9.123, allocations: 112.6 kB / 4.349 GB, free: 64.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/9.123, allocations: 157.6 kB / 4.349 GB, free: 64.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/9.125, allocations: 1.53 MB / 4.351 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/9.125, allocations: 0 / 4.351 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/9.125, allocations: 61.8 kB / 4.351 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/9.125, allocations: 52.83 kB / 4.351 GB, free: 63.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/9.127, allocations: 1.16 MB / 4.352 GB, free: 63.9 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.007975/9.135, allocations: 7.474 MB / 4.359 GB, free: 58.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/9.136, allocations: 0.9586 MB / 4.36 GB, free: 58.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/9.137, allocations: 432.4 kB / 4.361 GB, free: 58.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/9.137, allocations: 115.5 kB / 4.361 GB, free: 58.06 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/9.137, allocations: 44.66 kB / 4.361 GB, free: 58.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009011/9.138, allocations: 149.3 kB / 4.361 GB, free: 57.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=81): time 3.657e-06/9.138, allocations: 0 / 4.361 GB, free: 57.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.002114/9.14, allocations: 1.036 MB / 4.362 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/9.14, allocations: 64.02 kB / 4.362 GB, free: 57.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/9.142, allocations: 1.502 MB / 4.364 GB, free: 56.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-05/9.142, allocations: 48.17 kB / 4.364 GB, free: 56.82 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005523/9.143, allocations: 0.9796 MB / 4.365 GB, free: 56.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/9.143, allocations: 287.4 kB / 4.365 GB, free: 55.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/9.143, allocations: 19.72 kB / 4.365 GB, free: 55.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/9.143, allocations: 345.5 kB / 4.365 GB, free: 55.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/9.143, allocations: 336.9 kB / 4.366 GB, free: 55.37 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/9.144, allocations: 0.7643 MB / 4.366 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/9.144, allocations: 447.3 kB / 4.367 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/9.144, allocations: 3.094 kB / 4.367 GB, free: 54.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002297/9.147, allocations: 1.367 MB / 4.368 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006495/9.147, allocations: 3.967 MB / 4.372 GB, free: 48.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/9.147, allocations: 8 kB / 4.372 GB, free: 48.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004257/9.148, allocations: 146.6 kB / 4.372 GB, free: 48.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/9.149, allocations: 268.5 kB / 4.372 GB, free: 48.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/9.151, allocations: 3.507 MB / 4.376 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/9.153, allocations: 137.4 kB / 4.376 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/9.153, allocations: 63.75 kB / 4.376 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/9.153, allocations: 5.562 kB / 4.376 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00198/9.155, allocations: 1.196 MB / 4.377 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/9.155, allocations: 12 kB / 4.377 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/9.155, allocations: 133.2 kB / 4.377 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/9.156, allocations: 233.6 kB / 4.377 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/9.159, allocations: 3.242 MB / 4.381 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/9.16, allocations: 142.1 kB / 4.381 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/9.16, allocations: 51.05 kB / 4.381 GB, free: 39.51 MB / 0.7448 GB 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.0002501/9.16, allocations: 176 kB / 4.381 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/9.161, allocations: 201.4 kB / 4.381 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/9.163, allocations: 1.173 MB / 4.382 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/9.163, allocations: 8 kB / 4.382 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/9.163, allocations: 3.938 kB / 4.382 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/9.165, allocations: 0.9839 MB / 4.383 GB, free: 37.16 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.004633/9.169, allocations: 2.914 MB / 4.386 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/9.169, allocations: 8.156 kB / 4.386 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/9.17, allocations: 207.9 kB / 4.386 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/9.17, allocations: 117.2 kB / 4.386 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/9.17, allocations: 27.97 kB / 4.386 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/9.173, allocations: 4.783 MB / 4.391 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/9.173, allocations: 8.031 kB / 4.391 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/9.175, allocations: 1.744 MB / 4.393 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/9.176, allocations: 354.4 kB / 4.393 GB, free: 26.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/9.176, allocations: 20 kB / 4.393 GB, free: 26.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/9.177, allocations: 131.7 kB / 4.393 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/9.178, allocations: 56.59 kB / 4.393 GB, free: 26.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/9.178, allocations: 39.97 kB / 4.393 GB, free: 26.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001461/9.179, allocations: 1.166 MB / 4.395 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/9.179, allocations: 0 / 4.395 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003797/9.183, allocations: 1.412 MB / 4.396 GB, free: 23.73 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.007187/9.19, allocations: 6.708 MB / 4.402 GB, free: 17.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002907/9.193, allocations: 1.879 MB / 4.404 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/9.193, allocations: 4.562 kB / 4.404 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/9.194, allocations: 0.6499 MB / 4.405 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/9.198, allocations: 0.99 MB / 4.406 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/9.203, allocations: 3.236 MB / 4.409 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/9.204, allocations: 1.621 MB / 4.411 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00267/9.207, allocations: 0.7323 MB / 4.411 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008038/9.208, allocations: 0.8151 MB / 4.412 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/9.208, allocations: 0 / 4.412 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5607/9.768, allocations: 117.9 MB / 4.527 GB, free: 70.85 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/9.769, allocations: 235.2 kB / 4.528 GB, free: 70.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.54/15.31, allocations: 2.156 kB / 4.528 GB, free: 70.54 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)