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 1.672/1.672, allocations: 287.4 MB / 302.6 MB, free: 8.234 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.001032/0.001032, allocations: 191 kB / 371.1 MB, free: 10.82 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.392/1.392, allocations: 205.4 MB / 0.6298 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.0008654/0.0008654, allocations: 99.47 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 11.38 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2044, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.558/0.7625, allocations: 146.7 MB / 1.122 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008246/0.7708, allocations: 3.363 MB / 1.125 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006353/0.7715, allocations: 8.531 kB / 1.125 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.7722, allocations: 108 kB / 1.125 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.7742, allocations: 393.4 kB / 1.126 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.7761, allocations: 371.2 kB / 1.126 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004338/0.7805, allocations: 3.033 MB / 1.129 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.782, allocations: 0.7451 MB / 1.13 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.7847, allocations: 0.8777 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.7871, allocations: 0.726 MB / 1.131 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.7873, allocations: 33.91 kB / 1.131 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.7895, allocations: 0.5563 MB / 1.132 GB, free: 15.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004799/0.79, allocations: 287 kB / 1.132 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.7905, allocations: 234.3 kB / 1.132 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.7921, allocations: 1.023 MB / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7921, allocations: 3.625 kB / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7922, allocations: 0 / 1.133 GB, free: 15.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7922, allocations: 0 / 1.133 GB, free: 15.72 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.00308/0.7953, allocations: 1.288 MB / 1.135 GB, free: 14.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.7953, allocations: 9.719 kB / 1.135 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.7955, allocations: 92.97 kB / 1.135 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.7965, allocations: 197.9 kB / 1.135 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.7987, allocations: 0.8344 MB / 1.136 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.7987, allocations: 48.25 kB / 1.136 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7989, allocations: 59.16 kB / 1.136 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.8006, allocations: 0.7891 MB / 1.137 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.8007, allocations: 0.9375 kB / 1.137 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.8008, allocations: 28.59 kB / 1.137 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.8008, allocations: 17.22 kB / 1.137 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.8023, allocations: 0.536 MB / 1.137 GB, free: 14.15 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.005658/0.808, allocations: 4.614 MB / 1.142 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000848/0.8088, allocations: 419.9 kB / 1.142 GB, free: 10.63 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.8093, allocations: 257.6 kB / 1.142 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/0.8097, allocations: 193.4 kB / 1.143 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/0.8104, allocations: 304.6 kB / 1.143 GB, free: 10.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 4.108e-06/0.8104, allocations: 1.656 kB / 1.143 GB, free: 10.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.004984/0.8154, allocations: 1.363 MB / 1.144 GB, free: 9.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.8155, allocations: 83.36 kB / 1.144 GB, free: 9.566 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.8174, allocations: 1.117 MB / 1.145 GB, free: 9.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.8175, allocations: 33.55 kB / 1.145 GB, free: 9.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.8181, allocations: 498 kB / 1.146 GB, free: 8.957 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.8182, allocations: 109.7 kB / 1.146 GB, free: 8.883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.8182, allocations: 9.406 kB / 1.146 GB, free: 8.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8184, allocations: 322.3 kB / 1.146 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.8187, allocations: 187.4 kB / 1.147 GB, free: 8.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/0.8194, allocations: 0.4956 MB / 1.147 GB, free: 8.109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.8202, allocations: 0.592 MB / 1.148 GB, free: 7.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8202, allocations: 1.031 kB / 1.148 GB, free: 7.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002352/0.8225, allocations: 0.988 MB / 1.149 GB, free: 7.395 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.8228, allocations: 281 kB / 1.149 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.8228, allocations: 5.781 kB / 1.149 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.8241, allocations: 345.8 kB / 1.149 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.8244, allocations: 59.84 kB / 1.149 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.8254, allocations: 1.007 MB / 1.15 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.8264, allocations: 109.3 kB / 1.15 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.8264, allocations: 29.25 kB / 1.15 GB, free: 6.242 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.8264, allocations: 4.25 kB / 1.15 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/0.8278, allocations: 0.725 MB / 1.151 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.8278, allocations: 5.938 kB / 1.151 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.8284, allocations: 228 kB / 1.151 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.8286, allocations: 59.5 kB / 1.151 GB, free: 5.934 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.8322, allocations: 3.112 MB / 1.154 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.8332, allocations: 95.67 kB / 1.154 GB, free: 4.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.8332, allocations: 24.97 kB / 1.154 GB, free: 4 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.0007072/0.8339, allocations: 467.8 kB / 1.155 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.8342, allocations: 98.16 kB / 1.155 GB, free: 3.684 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.8355, allocations: 0.7294 MB / 1.156 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8355, allocations: 2.562 kB / 1.156 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.8355, allocations: 1.219 kB / 1.156 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8355, allocations: 1.594 kB / 1.156 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.8381, allocations: 1.613 MB / 1.157 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8381, allocations: 1.031 kB / 1.157 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.8382, allocations: 26.77 kB / 1.157 GB, free: 2.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004771/0.8387, allocations: 232.9 kB / 1.158 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.8388, allocations: 10.89 kB / 1.158 GB, free: 2.539 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008344/0.8396, allocations: 0.976 MB / 1.159 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8396, allocations: 7.031 kB / 1.159 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.8409, allocations: 0.8461 MB / 1.159 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.8413, allocations: 227.6 kB / 1.16 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.8414, allocations: 7.562 kB / 1.16 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.842, allocations: 57.31 kB / 1.16 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.8421, allocations: 31.94 kB / 1.16 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.8421, allocations: 19.7 kB / 1.16 GB, free: 1.266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001035/0.8432, allocations: 0.7836 MB / 1.16 GB, free: 1.008 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8432, allocations: 0 / 1.16 GB, free: 1.008 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001463/0.8446, allocations: 456.8 kB / 1.161 GB, free: 0.9688 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.001472/0.8461, allocations: 1.368 MB / 1.162 GB, free: 52 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.8479, allocations: 1.052 MB / 1.163 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8479, allocations: 2.812 kB / 1.163 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.8483, allocations: 247.1 kB / 1.163 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.8505, allocations: 449.9 kB / 1.164 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.8621, allocations: 6.569 MB / 1.17 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.8629, allocations: 1.184 MB / 1.171 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009743/0.8639, allocations: 319.7 kB / 1.172 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.8642, allocations: 308.4 kB / 1.172 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.8642, allocations: 0 / 1.172 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.306/1.17, allocations: 28 MB / 1.199 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/1.171, allocations: 275 kB / 1.2 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/4.365, allocations: 0 / 1.2 GB, free: 4.098 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)