Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.88/2.881, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.00174/0.00174, allocations: 182.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 93.86 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007027/0.0007029, allocations: 11.98 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2574, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 1.001/1.258, allocations: 140.5 MB / 1.115 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005344/1.264, allocations: 2.15 MB / 1.118 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006211/1.264, allocations: 9.875 kB / 1.118 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/1.266, allocations: 240.6 kB / 1.118 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/1.269, allocations: 0.6784 MB / 1.118 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/1.271, allocations: 445.1 kB / 1.119 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003743/1.275, allocations: 1.643 MB / 1.12 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/1.28, allocations: 2.316 MB / 1.123 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/1.282, allocations: 0.8518 MB / 1.124 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.283, allocations: 0.6094 MB / 1.124 GB, free: 136 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.284, allocations: 46.28 kB / 1.124 GB, free: 136 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/1.286, allocations: 0.6175 MB / 1.125 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/1.286, allocations: 309.6 kB / 1.125 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/1.287, allocations: 245.7 kB / 1.125 GB, free: 16.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/1.289, allocations: 1.17 MB / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.289, allocations: 0 / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.289, allocations: 0 / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.289, allocations: 0 / 1.127 GB, free: 15.9 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004445/1.293, allocations: 1.517 MB / 1.128 GB, free: 15.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.293, allocations: 8.844 kB / 1.128 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002784/1.294, allocations: 103.7 kB / 1.128 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.295, allocations: 202.5 kB / 1.128 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/1.298, allocations: 0.8651 MB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/1.298, allocations: 47.25 kB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.298, allocations: 68.73 kB / 1.129 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/1.3, allocations: 0.9841 MB / 1.13 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.3, allocations: 6.656 kB / 1.13 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.301, allocations: 27.06 kB / 1.13 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.301, allocations: 14.34 kB / 1.13 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/1.303, allocations: 0.8039 MB / 1.131 GB, free: 14.32 MB / 0.698 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.008412/1.311, allocations: 4.807 MB / 1.136 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/1.315, allocations: 4.028 MB / 1.14 GB, free: 6.289 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/1.315, allocations: 15.73 kB / 1.14 GB, free: 6.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009935/1.316, allocations: 339 kB / 1.14 GB, free: 6.121 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007229/1.317, allocations: 31.81 kB / 1.14 GB, free: 6.105 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.866e-06/1.317, allocations: 0 / 1.14 GB, free: 6.105 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.008451/1.325, allocations: 1.497 MB / 1.141 GB, free: 5.469 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/1.326, allocations: 109.9 kB / 1.142 GB, free: 5.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.328, allocations: 1.172 MB / 1.143 GB, free: 4.977 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/1.329, allocations: 37.67 kB / 1.143 GB, free: 4.945 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/1.329, allocations: 0.517 MB / 1.143 GB, free: 4.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/1.329, allocations: 123.6 kB / 1.143 GB, free: 4.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/1.329, allocations: 11.81 kB / 1.143 GB, free: 4.637 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.33, allocations: 330.9 kB / 1.144 GB, free: 4.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/1.33, allocations: 205.5 kB / 1.144 GB, free: 4.273 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.331, allocations: 0.5339 MB / 1.144 GB, free: 3.836 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/1.332, allocations: 319.5 kB / 1.145 GB, free: 3.734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.332, allocations: 1.188 kB / 1.145 GB, free: 3.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004254/1.336, allocations: 1.041 MB / 1.146 GB, free: 3.344 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.338, allocations: 2.144 MB / 1.148 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/1.338, allocations: 5.125 kB / 1.148 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002614/1.34, allocations: 389.3 kB / 1.148 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/1.341, allocations: 123.8 kB / 1.148 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/1.344, allocations: 1.664 MB / 1.15 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.346, allocations: 104.6 kB / 1.15 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.346, allocations: 27.2 kB / 1.15 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/1.346, allocations: 5.781 kB / 1.15 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002576/1.349, allocations: 0.7883 MB / 1.151 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.349, allocations: 4.969 kB / 1.151 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009585/1.35, allocations: 221.3 kB / 1.151 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/1.351, allocations: 108.8 kB / 1.151 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/1.357, allocations: 3.005 MB / 1.154 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.359, allocations: 105 kB / 1.154 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.359, allocations: 28.83 kB / 1.154 GB, free: 13.46 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.001121/1.36, allocations: 468.8 kB / 1.155 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/1.361, allocations: 110.6 kB / 1.155 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/1.363, allocations: 0.7758 MB / 1.156 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.363, allocations: 4.531 kB / 1.156 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.363, allocations: 1.094 kB / 1.156 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.363, allocations: 5.281 kB / 1.156 GB, free: 12.88 MB / 0.7136 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.00548/1.369, allocations: 2.199 MB / 1.158 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.369, allocations: 1.375 kB / 1.158 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/1.369, allocations: 91.33 kB / 1.158 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/1.37, allocations: 187.6 kB / 1.158 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/1.37, allocations: 12.48 kB / 1.158 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.372, allocations: 1.475 MB / 1.159 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.372, allocations: 6.422 kB / 1.159 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/1.375, allocations: 0.9403 MB / 1.16 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000762/1.375, allocations: 232.5 kB / 1.161 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.376, allocations: 11.7 kB / 1.161 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.377, allocations: 87.84 kB / 1.161 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.377, allocations: 32.22 kB / 1.161 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/1.377, allocations: 13.59 kB / 1.161 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001893/1.379, allocations: 0.8265 MB / 1.162 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/1.379, allocations: 1.094 kB / 1.162 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002718/1.382, allocations: 0.4996 MB / 1.162 GB, free: 9.254 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003063/1.385, allocations: 1.98 MB / 1.164 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004795/1.39, allocations: 1.295 MB / 1.165 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/1.39, allocations: 4.062 kB / 1.165 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.391, allocations: 322.2 kB / 1.166 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/1.397, allocations: 0.6426 MB / 1.166 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.421, allocations: 10.45 MB / 1.176 GB, free: 92 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/1.422, allocations: 1.244 MB / 1.178 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002005/1.424, allocations: 357.6 kB / 1.178 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007122/1.425, allocations: 361 kB / 1.178 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of SimCode: time 2.104e-06/1.425, allocations: 2.469 kB / 1.178 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09715/1.522, allocations: 31.12 MB / 1.209 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003833/1.522, allocations: 274.8 kB / 1.209 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/5.191, allocations: 4 kB / 1.209 GB, free: 4.348 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)