Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow",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.6765/0.6765, 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.0009645/0.0009645, allocations: 182.5 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.196/1.196, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0007701/0.00077, allocations: 103 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 269.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.826e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.557/3.884, allocations: 1.906 GB / 2.67 GB, free: 100.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/3.884, allocations: 90.97 kB / 2.67 GB, free: 100.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.138/9.022, allocations: 1.672 GB / 4.342 GB, free: 57.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.013e-06/9.022, allocations: 0 / 4.342 GB, free: 57.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000223/9.023, allocations: 67.14 kB / 4.343 GB, free: 57.4 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004655/9.027, allocations: 2.507 MB / 4.345 GB, free: 54.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/9.027, allocations: 8.031 kB / 4.345 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002245/9.027, allocations: 202.6 kB / 4.345 GB, free: 54.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/9.032, allocations: 0.8126 MB / 4.346 GB, free: 53.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/9.038, allocations: 2.632 MB / 4.349 GB, free: 51.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/9.038, allocations: 114.6 kB / 4.349 GB, free: 50.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/9.038, allocations: 148 kB / 4.349 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/9.041, allocations: 1.517 MB / 4.35 GB, free: 49.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/9.041, allocations: 0 / 4.35 GB, free: 49.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/9.041, allocations: 60 kB / 4.35 GB, free: 49.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/9.041, allocations: 46.61 kB / 4.35 GB, free: 49.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/9.043, allocations: 1.143 MB / 4.352 GB, free: 48 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.007506/9.05, allocations: 7.436 MB / 4.359 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/9.051, allocations: 0.9456 MB / 4.36 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/9.052, allocations: 427.1 kB / 4.36 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/9.052, allocations: 109.9 kB / 4.36 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/9.052, allocations: 43.3 kB / 4.36 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008942/9.053, allocations: 219 kB / 4.36 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/9.053, allocations: 7.938 kB / 4.36 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=78): time 0.00193/9.055, allocations: 0.9827 MB / 4.361 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/9.055, allocations: 64.19 kB / 4.361 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/9.056, allocations: 1.49 MB / 4.363 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/9.057, allocations: 49.7 kB / 4.363 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/9.057, allocations: 0.9726 MB / 4.364 GB, free: 34.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/9.057, allocations: 276 kB / 4.364 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/9.057, allocations: 16 kB / 4.364 GB, free: 34.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.384e-05/9.057, allocations: 353.9 kB / 4.365 GB, free: 33.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/9.058, allocations: 326.2 kB / 4.365 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/9.058, allocations: 0.7633 MB / 4.366 GB, free: 32.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/9.059, allocations: 444.3 kB / 4.366 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/9.059, allocations: 4 kB / 4.366 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002072/9.061, allocations: 1.299 MB / 4.367 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007812/9.062, allocations: 3.969 MB / 4.371 GB, free: 26.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/9.062, allocations: 12 kB / 4.371 GB, free: 26.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/9.062, allocations: 108.4 kB / 4.371 GB, free: 26.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/9.063, allocations: 259.6 kB / 4.372 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/9.065, allocations: 2.372 MB / 4.374 GB, free: 23.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/9.067, allocations: 143.7 kB / 4.374 GB, free: 23.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/9.067, allocations: 59.97 kB / 4.374 GB, free: 23.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/9.067, allocations: 4 kB / 4.374 GB, free: 23.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/9.069, allocations: 1.066 MB / 4.375 GB, free: 22.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/9.069, allocations: 15.94 kB / 4.375 GB, free: 22.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/9.069, allocations: 100.8 kB / 4.375 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/9.07, allocations: 239.7 kB / 4.375 GB, free: 22.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/9.071, allocations: 1.769 MB / 4.377 GB, free: 20.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/9.073, allocations: 123.8 kB / 4.377 GB, free: 20.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/9.073, allocations: 51.98 kB / 4.377 GB, free: 20.09 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 (122): * Single equations (assignments): 118 * 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.0001911/9.073, allocations: 172.6 kB / 4.378 GB, free: 19.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/9.073, allocations: 193.6 kB / 4.378 GB, free: 19.72 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/9.075, allocations: 1.059 MB / 4.379 GB, free: 18.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/9.075, allocations: 11.94 kB / 4.379 GB, free: 18.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/9.075, allocations: 0 / 4.379 GB, free: 18.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/9.077, allocations: 0.8707 MB / 4.38 GB, free: 17.73 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.003995/9.081, allocations: 2.853 MB / 4.382 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/9.081, allocations: 0 / 4.382 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/9.081, allocations: 195.9 kB / 4.383 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/9.082, allocations: 92.81 kB / 4.383 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/9.082, allocations: 19.98 kB / 4.383 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/9.083, allocations: 2.245 MB / 4.385 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/9.083, allocations: 4.031 kB / 4.385 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/9.085, allocations: 1.617 MB / 4.386 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/9.086, allocations: 350.5 kB / 4.387 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/9.086, allocations: 16 kB / 4.387 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/9.087, allocations: 127.7 kB / 4.387 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/9.087, allocations: 52.7 kB / 4.387 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/9.087, allocations: 31.98 kB / 4.387 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001203/9.088, allocations: 1.162 MB / 4.388 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/9.088, allocations: 0 / 4.388 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003253/9.092, allocations: 1.373 MB / 4.389 GB, free: 7.203 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 (76): * Single equations (assignments): 74 * 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.006615/9.098, allocations: 6.584 MB / 4.396 GB, free: 312 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002885/9.101, allocations: 1.713 MB / 4.398 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/9.101, allocations: 4 kB / 4.398 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007159/9.102, allocations: 0.5074 MB / 4.398 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/9.106, allocations: 1.003 MB / 4.399 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/9.111, allocations: 3.205 MB / 4.402 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/9.112, allocations: 1.613 MB / 4.404 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002674/9.115, allocations: 0.7208 MB / 4.404 GB, free: 7.473 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009187/9.116, allocations: 0.8116 MB / 4.405 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of SimCode: time 6.62e-07/9.116, allocations: 0 / 4.405 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5603/9.676, allocations: 116.7 MB / 4.519 GB, free: 78.45 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/9.677, allocations: 244.4 kB / 4.52 GB, free: 78.13 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.558/15.23, allocations: 0 / 4.52 GB, free: 78.13 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)