Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.6 MB / 307.5 MB, free: 5.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 171.7 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.6366 GB, free: 9.562 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.39 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 8 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 116.3 MB / 0.9884 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.199, allocations: 2.114 GB / 3.103 GB, free: 102.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/6.199, allocations: 92.7 kB / 3.103 GB, free: 102.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.486/13.69, allocations: 1.651 GB / 4.754 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.086e-06/13.69, allocations: 0 / 4.754 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000669/13.69, allocations: 61.03 kB / 4.754 GB, free: 108.5 MB / 0.9948 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.01558/13.7, allocations: 3.174 MB / 4.757 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.681e-05/13.7, allocations: 10.41 kB / 4.757 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/13.7, allocations: 201.7 kB / 4.757 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/13.71, allocations: 0.8089 MB / 4.758 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/13.72, allocations: 2.658 MB / 4.76 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/13.72, allocations: 114.8 kB / 4.761 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/13.72, allocations: 150.7 kB / 4.761 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/13.73, allocations: 1.587 MB / 4.762 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/13.73, allocations: 6.328 kB / 4.762 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/13.73, allocations: 56.34 kB / 4.762 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.033e-05/13.73, allocations: 49.69 kB / 4.762 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/13.73, allocations: 1.268 MB / 4.764 GB, free: 106.6 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01403/13.75, allocations: 7.419 MB / 4.771 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/13.75, allocations: 1.016 MB / 4.772 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/13.75, allocations: 109.2 kB / 4.772 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/13.75, allocations: 46.2 kB / 4.772 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001883/13.75, allocations: 229.2 kB / 4.772 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 6.232e-06/13.75, allocations: 2.625 kB / 4.772 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.006178/13.76, allocations: 1.596 MB / 4.774 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/13.76, allocations: 62.75 kB / 4.774 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/13.76, allocations: 1.509 MB / 4.775 GB, free: 102 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002877/13.76, allocations: 49.3 kB / 4.775 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/13.76, allocations: 0.9729 MB / 4.776 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/13.76, allocations: 266.9 kB / 4.777 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/13.76, allocations: 20.66 kB / 4.777 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001161/13.76, allocations: 342.7 kB / 4.777 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/13.76, allocations: 387.7 kB / 4.777 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/13.77, allocations: 0.8131 MB / 4.778 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/13.77, allocations: 0.4905 MB / 4.778 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/13.77, allocations: 2.75 kB / 4.778 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004268/13.77, allocations: 1.427 MB / 4.78 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000993/13.77, allocations: 3.952 MB / 4.784 GB, free: 96.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/13.77, allocations: 13.36 kB / 4.784 GB, free: 96.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/13.77, allocations: 126.8 kB / 4.784 GB, free: 96.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/13.77, allocations: 254 kB / 4.784 GB, free: 96.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/13.78, allocations: 2.435 MB / 4.787 GB, free: 94.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/13.78, allocations: 139.2 kB / 4.787 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/13.78, allocations: 59.36 kB / 4.787 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/13.78, allocations: 2.438 kB / 4.787 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003377/13.78, allocations: 1.168 MB / 4.788 GB, free: 94.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/13.78, allocations: 13.41 kB / 4.788 GB, free: 94.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/13.78, allocations: 117.2 kB / 4.788 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/13.79, allocations: 232.7 kB / 4.788 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/13.79, allocations: 1.842 MB / 4.79 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/13.79, allocations: 130.5 kB / 4.79 GB, free: 93.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/13.79, allocations: 51.16 kB / 4.79 GB, free: 93.29 MB / 0.9948 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 () * Number of clocked 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.002037/13.79, allocations: 0.5863 MB / 4.791 GB, free: 93.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/13.79, allocations: 192.4 kB / 4.791 GB, free: 92.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/13.8, allocations: 1.155 MB / 4.792 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/13.8, allocations: 8.719 kB / 4.792 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/13.8, allocations: 0 / 4.792 GB, free: 92.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002664/13.8, allocations: 0.9814 MB / 4.793 GB, free: 92.71 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.008483/13.81, allocations: 2.947 MB / 4.796 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/13.81, allocations: 1.562 kB / 4.796 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/13.81, allocations: 192.5 kB / 4.796 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/13.81, allocations: 95.03 kB / 4.796 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/13.81, allocations: 25.31 kB / 4.796 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/13.81, allocations: 2.308 MB / 4.798 GB, free: 90.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/13.81, allocations: 2.5 kB / 4.798 GB, free: 90.22 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/13.82, allocations: 1.776 MB / 4.8 GB, free: 89.78 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/13.82, allocations: 349 kB / 4.801 GB, free: 89.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/13.82, allocations: 16.16 kB / 4.801 GB, free: 89.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/13.82, allocations: 126.5 kB / 4.801 GB, free: 89.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/13.82, allocations: 57.36 kB / 4.801 GB, free: 89.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-05/13.82, allocations: 38.41 kB / 4.801 GB, free: 89.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002186/13.82, allocations: 1.179 MB / 4.802 GB, free: 89.42 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/13.82, allocations: 2.344 kB / 4.802 GB, free: 89.42 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006832/13.83, allocations: 1.379 MB / 4.803 GB, free: 89.28 MB / 0.9948 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 () * Number of clocked 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.01103/13.84, allocations: 6.718 MB / 4.81 GB, free: 86.36 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004711/13.85, allocations: 1.802 MB / 4.812 GB, free: 86.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/13.85, allocations: 2.219 kB / 4.812 GB, free: 86.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/13.85, allocations: 0.5703 MB / 4.812 GB, free: 85.99 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005399/13.85, allocations: 0.9927 MB / 4.813 GB, free: 85.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/13.86, allocations: 11.77 MB / 4.825 GB, free: 77 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/13.86, allocations: 1.611 MB / 4.826 GB, free: 76.28 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002551/13.87, allocations: 484.3 kB / 4.827 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/13.87, allocations: 0.8358 MB / 4.827 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of SimCode: time 1.242e-06/13.87, allocations: 0 / 4.827 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1783/14.05, allocations: 104.3 MB / 4.929 GB, free: 70.37 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/14.05, allocations: 244.5 kB / 4.93 GB, free: 70.04 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.192/20.24, allocations: 0 / 4.93 GB, free: 70.04 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)