Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.891/2.891, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001691/0.001691, allocations: 182.3 kB / 370.8 MB, free: 10.85 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.231/2.231, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001263/0.001263, allocations: 82.98 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007061/0.0007063, allocations: 11.97 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2502, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.9519/1.202, allocations: 140.5 MB / 1.115 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00873/1.211, allocations: 3.583 MB / 1.119 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/1.212, allocations: 11.06 kB / 1.119 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/1.214, allocations: 239.1 kB / 1.119 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/1.218, allocations: 0.6917 MB / 1.12 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/1.221, allocations: 480.8 kB / 1.12 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00405/1.225, allocations: 1.654 MB / 1.122 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004971/1.23, allocations: 2.312 MB / 1.124 GB, free: 288 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/1.233, allocations: 0.8586 MB / 1.125 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/1.235, allocations: 0.606 MB / 1.126 GB, free: 20 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003946/1.235, allocations: 53.22 kB / 1.126 GB, free: 16 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/1.238, allocations: 455.1 kB / 1.126 GB, free: 4 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009957/1.239, allocations: 310.9 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/1.24, allocations: 247.9 kB / 1.127 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/1.243, allocations: 1.13 MB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.243, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.128e-06/1.243, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.797e-05/1.243, allocations: 1.75 kB / 1.128 GB, free: 15.82 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005445/1.249, allocations: 1.499 MB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.249, allocations: 14.09 kB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004743/1.249, allocations: 100.3 kB / 1.129 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.251, allocations: 201.2 kB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/1.254, allocations: 0.8667 MB / 1.13 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/1.254, allocations: 54.88 kB / 1.13 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/1.254, allocations: 60.47 kB / 1.13 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/1.257, allocations: 0.9892 MB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/1.257, allocations: 7.172 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/1.257, allocations: 25.77 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.258, allocations: 19.8 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/1.26, allocations: 0.7995 MB / 1.132 GB, free: 14.25 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.009676/1.27, allocations: 4.803 MB / 1.137 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/1.274, allocations: 4.033 MB / 1.141 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.274, allocations: 10.09 kB / 1.141 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/1.276, allocations: 344.7 kB / 1.141 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007597/1.276, allocations: 34.78 kB / 1.141 GB, free: 5.988 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 9.628e-06/1.276, allocations: 1.438 kB / 1.141 GB, free: 5.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.01058/1.287, allocations: 1.688 MB / 1.143 GB, free: 5.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.287, allocations: 111.2 kB / 1.143 GB, free: 5.129 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003306/1.29, allocations: 1.182 MB / 1.144 GB, free: 4.758 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.291, allocations: 38.67 kB / 1.144 GB, free: 4.727 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/1.292, allocations: 0.5067 MB / 1.145 GB, free: 4.512 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/1.292, allocations: 125 kB / 1.145 GB, free: 4.426 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/1.292, allocations: 10.31 kB / 1.145 GB, free: 4.426 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.292, allocations: 322 kB / 1.145 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/1.293, allocations: 211.2 kB / 1.145 GB, free: 4.066 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/1.294, allocations: 0.5371 MB / 1.146 GB, free: 3.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.295, allocations: 317.6 kB / 1.146 GB, free: 3.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/1.295, allocations: 6.078 kB / 1.146 GB, free: 3.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.005034/1.3, allocations: 1.075 MB / 1.147 GB, free: 3.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/1.302, allocations: 2.147 MB / 1.149 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/1.302, allocations: 4.938 kB / 1.149 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003083/1.305, allocations: 441.4 kB / 1.15 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/1.305, allocations: 83.78 kB / 1.15 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/1.308, allocations: 1.12 MB / 1.151 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.311, allocations: 103.8 kB / 1.151 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/1.311, allocations: 24.94 kB / 1.151 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.311, allocations: 3.969 kB / 1.151 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003038/1.314, allocations: 0.8193 MB / 1.152 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.314, allocations: 5.562 kB / 1.152 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/1.315, allocations: 253.4 kB / 1.152 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/1.316, allocations: 69.64 kB / 1.152 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/1.324, allocations: 3.208 MB / 1.155 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.326, allocations: 96.55 kB / 1.155 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.326, allocations: 22.41 kB / 1.155 GB, free: 13.75 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.001269/1.327, allocations: 481 kB / 1.156 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/1.328, allocations: 114.9 kB / 1.156 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/1.331, allocations: 0.7972 MB / 1.157 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.331, allocations: 5 kB / 1.157 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.331, allocations: 1.969 kB / 1.157 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.331, allocations: 5.047 kB / 1.157 GB, free: 13.15 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.0064/1.337, allocations: 2.241 MB / 1.159 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.337, allocations: 1.094 kB / 1.159 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/1.338, allocations: 49.45 kB / 1.159 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.339, allocations: 244 kB / 1.159 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/1.339, allocations: 14.02 kB / 1.159 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/1.341, allocations: 0.9405 MB / 1.16 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.341, allocations: 2.219 kB / 1.16 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/1.343, allocations: 0.9807 MB / 1.161 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/1.345, allocations: 241.3 kB / 1.161 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.345, allocations: 7.281 kB / 1.161 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.347, allocations: 74.66 kB / 1.161 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/1.347, allocations: 33.02 kB / 1.161 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/1.347, allocations: 12.66 kB / 1.161 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002303/1.349, allocations: 0.8355 MB / 1.162 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.956e-06/1.349, allocations: 0 / 1.162 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003092/1.353, allocations: 0.5091 MB / 1.163 GB, free: 10.07 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/1.356, allocations: 1.965 MB / 1.165 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004976/1.361, allocations: 1.286 MB / 1.166 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.361, allocations: 0 / 1.166 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.362, allocations: 322.8 kB / 1.166 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/1.369, allocations: 0.6557 MB / 1.167 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.395, allocations: 10.49 MB / 1.177 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.397, allocations: 1.237 MB / 1.178 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002048/1.399, allocations: 329.9 kB / 1.179 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/1.4, allocations: 356.9 kB / 1.179 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/1.4, allocations: 0 / 1.179 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/1.537, allocations: 31.25 MB / 1.21 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004779/1.538, allocations: 268.6 kB / 1.21 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.195/5.732, allocations: 4 kB / 1.21 GB, free: 4.496 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)