Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.721/2.721, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001957/0.001957, allocations: 188.7 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.281/2.281, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001186/0.001186, allocations: 101 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009412/0.0009414, allocations: 12.5 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2655, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.9563/1.222, allocations: 135.7 MB / 1.111 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007484/1.229, allocations: 3.107 MB / 1.114 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006679/1.23, allocations: 7.875 kB / 1.114 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/1.231, allocations: 179.2 kB / 1.114 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002926/1.234, allocations: 0.4913 MB / 1.114 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/1.237, allocations: 452.3 kB / 1.115 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003619/1.241, allocations: 1.501 MB / 1.116 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/1.243, allocations: 0.7069 MB / 1.117 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/1.245, allocations: 0.7042 MB / 1.118 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/1.247, allocations: 492.5 kB / 1.118 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/1.248, allocations: 37.88 kB / 1.118 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/1.25, allocations: 412.6 kB / 1.119 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008594/1.251, allocations: 257.2 kB / 1.119 GB, free: 496 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/1.252, allocations: 231.6 kB / 1.119 GB, free: 16.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002925/1.255, allocations: 0.9809 MB / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.255, allocations: 0 / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.759e-06/1.255, allocations: 0.6094 kB / 1.12 GB, free: 16.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.564e-05/1.255, allocations: 0 / 1.12 GB, free: 16.32 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004644/1.26, allocations: 1.284 MB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/1.26, allocations: 9.875 kB / 1.121 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004194/1.26, allocations: 101.2 kB / 1.121 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/1.262, allocations: 183.7 kB / 1.122 GB, free: 15.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/1.265, allocations: 0.7952 MB / 1.122 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/1.265, allocations: 44.84 kB / 1.122 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/1.265, allocations: 60.84 kB / 1.123 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/1.268, allocations: 0.7902 MB / 1.123 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.268, allocations: 4 kB / 1.123 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/1.268, allocations: 26.31 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.268, allocations: 12.69 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/1.27, allocations: 0.5369 MB / 1.124 GB, free: 14.8 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.008494/1.278, allocations: 4.608 MB / 1.128 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.28, allocations: 442.2 kB / 1.129 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.726e-05/1.28, allocations: 17.05 kB / 1.129 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008618/1.281, allocations: 295.9 kB / 1.129 GB, free: 11.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 6.452e-06/1.281, allocations: 0 / 1.129 GB, free: 11.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.007389/1.288, allocations: 1.338 MB / 1.13 GB, free: 10.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.288, allocations: 108.8 kB / 1.13 GB, free: 10.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/1.291, allocations: 1.116 MB / 1.132 GB, free: 10.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/1.292, allocations: 36.39 kB / 1.132 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/1.293, allocations: 494.5 kB / 1.132 GB, free: 10.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/1.293, allocations: 105.3 kB / 1.132 GB, free: 10.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/1.293, allocations: 13.16 kB / 1.132 GB, free: 10.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.293, allocations: 325.1 kB / 1.132 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/1.294, allocations: 184.1 kB / 1.133 GB, free: 10.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/1.295, allocations: 0.4912 MB / 1.133 GB, free: 9.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/1.296, allocations: 300.7 kB / 1.133 GB, free: 9.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.296, allocations: 1.5 kB / 1.133 GB, free: 9.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004879/1.301, allocations: 0.986 MB / 1.134 GB, free: 9.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001203/1.302, allocations: 2.133 MB / 1.136 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-05/1.303, allocations: 9.109 kB / 1.136 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.305, allocations: 343.8 kB / 1.137 GB, free: 6.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/1.306, allocations: 67.47 kB / 1.137 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/1.308, allocations: 1.01 MB / 1.138 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.31, allocations: 114.5 kB / 1.138 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.31, allocations: 21.81 kB / 1.138 GB, free: 6.281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.31, allocations: 4.812 kB / 1.138 GB, free: 6.281 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002702/1.313, allocations: 0.7403 MB / 1.139 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.313, allocations: 5.656 kB / 1.139 GB, free: 6.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/1.314, allocations: 211.5 kB / 1.139 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/1.314, allocations: 67 kB / 1.139 GB, free: 5.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/1.321, allocations: 3.172 MB / 1.142 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.323, allocations: 99.52 kB / 1.142 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.323, allocations: 22.09 kB / 1.142 GB, free: 4.027 MB / 0.698 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.001254/1.325, allocations: 471.1 kB / 1.143 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/1.325, allocations: 99.19 kB / 1.143 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.327, allocations: 0.7011 MB / 1.143 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.328, allocations: 3.25 kB / 1.143 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.328, allocations: 1.156 kB / 1.143 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.328, allocations: 11.02 kB / 1.143 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/1.331, allocations: 1.098 MB / 1.145 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.331, allocations: 5.422 kB / 1.145 GB, free: 2.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.331, allocations: 26.45 kB / 1.145 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009813/1.332, allocations: 221.1 kB / 1.145 GB, free: 2.742 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/1.332, allocations: 11.23 kB / 1.145 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.334, allocations: 0.9867 MB / 1.146 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.334, allocations: 5.438 kB / 1.146 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/1.337, allocations: 0.8537 MB / 1.147 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/1.338, allocations: 219.3 kB / 1.147 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/1.338, allocations: 11.78 kB / 1.147 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.339, allocations: 58.56 kB / 1.147 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.339, allocations: 29.53 kB / 1.147 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/1.34, allocations: 17.03 kB / 1.147 GB, free: 1.422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002188/1.342, allocations: 0.7854 MB / 1.148 GB, free: 1.164 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.41e-07/1.342, allocations: 0 / 1.148 GB, free: 1.164 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002661/1.344, allocations: 450.2 kB / 1.148 GB, free: 1.129 MB / 0.698 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003554/1.348, allocations: 1.863 MB / 1.15 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003786/1.352, allocations: 1.061 MB / 1.151 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/1.352, allocations: 1.281 kB / 1.151 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.353, allocations: 234.5 kB / 1.151 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/1.357, allocations: 457.9 kB / 1.152 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/1.385, allocations: 9.883 MB / 1.161 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.386, allocations: 1.202 MB / 1.162 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001951/1.388, allocations: 320.2 kB / 1.163 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/1.389, allocations: 307.8 kB / 1.163 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of SimCode: time 1.944e-06/1.389, allocations: 2.719 kB / 1.163 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/1.484, allocations: 27.98 MB / 1.19 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005019/1.485, allocations: 276.7 kB / 1.191 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/5.387, allocations: 0 / 1.191 GB, free: 3.84 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)