Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.874/1.874, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001217/0.001217, allocations: 169.6 kB / 371.8 MB, free: 10.27 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.688/1.688, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008977/0.0008978, allocations: 91.92 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 16.12 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.834/1.1, allocations: 135.7 MB / 1.112 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005403/1.105, allocations: 3.108 MB / 1.115 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/1.106, allocations: 8.844 kB / 1.115 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/1.107, allocations: 177.9 kB / 1.115 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/1.109, allocations: 0.4912 MB / 1.116 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/1.111, allocations: 465.3 kB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002403/1.113, allocations: 1.504 MB / 1.118 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.114, allocations: 0.7006 MB / 1.118 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/1.116, allocations: 0.6987 MB / 1.119 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/1.117, allocations: 491.2 kB / 1.119 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.117, allocations: 34.78 kB / 1.119 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/1.118, allocations: 418.1 kB / 1.12 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/1.119, allocations: 258.4 kB / 1.12 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/1.119, allocations: 230.4 kB / 1.12 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/1.12, allocations: 0.9783 MB / 1.121 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.12, allocations: 0 / 1.121 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/1.12, allocations: 0.9375 kB / 1.121 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.12, allocations: 0 / 1.121 GB, free: 0.9648 MB / 0.6823 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.002661/1.123, allocations: 1.29 MB / 1.123 GB, free: 16.17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001119/1.123, allocations: 9.375 kB / 1.123 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/1.123, allocations: 96.53 kB / 1.123 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/1.124, allocations: 185.9 kB / 1.123 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.126, allocations: 0.8033 MB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/1.126, allocations: 39.94 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.723e-05/1.126, allocations: 64.08 kB / 1.124 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/1.128, allocations: 0.7876 MB / 1.124 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/1.128, allocations: 6.688 kB / 1.124 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/1.128, allocations: 25.84 kB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.128, allocations: 15.5 kB / 1.125 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009607/1.129, allocations: 0.5365 MB / 1.125 GB, free: 15.45 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.004814/1.133, allocations: 4.601 MB / 1.13 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/1.134, allocations: 442.4 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/1.134, allocations: 16.22 kB / 1.13 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006571/1.135, allocations: 298.3 kB / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/1.135, allocations: 0 / 1.13 GB, free: 11.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00514/1.14, allocations: 1.649 MB / 1.132 GB, free: 11.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.14, allocations: 112.7 kB / 1.132 GB, free: 11.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.142, allocations: 1.117 MB / 1.133 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.142, allocations: 38.64 kB / 1.133 GB, free: 10.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/1.142, allocations: 496.4 kB / 1.134 GB, free: 10.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/1.142, allocations: 106.8 kB / 1.134 GB, free: 10.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/1.142, allocations: 9.281 kB / 1.134 GB, free: 10.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.143, allocations: 320.9 kB / 1.134 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/1.143, allocations: 185.3 kB / 1.134 GB, free: 9.996 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/1.144, allocations: 0.4969 MB / 1.135 GB, free: 9.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/1.144, allocations: 294.4 kB / 1.135 GB, free: 9.473 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.144, allocations: 3.281 kB / 1.135 GB, free: 9.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002207/1.146, allocations: 0.9829 MB / 1.136 GB, free: 9.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/1.147, allocations: 2.131 MB / 1.138 GB, free: 6.852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.147, allocations: 7.25 kB / 1.138 GB, free: 6.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/1.149, allocations: 354.2 kB / 1.138 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/1.149, allocations: 70.38 kB / 1.138 GB, free: 6.727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/1.15, allocations: 1.096 MB / 1.139 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.151, allocations: 111.9 kB / 1.14 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/1.151, allocations: 21.38 kB / 1.14 GB, free: 6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/1.151, allocations: 7.609 kB / 1.14 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/1.153, allocations: 0.7376 MB / 1.14 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.153, allocations: 9.594 kB / 1.14 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/1.154, allocations: 227.4 kB / 1.141 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/1.154, allocations: 62.25 kB / 1.141 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/1.158, allocations: 3.102 MB / 1.144 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.159, allocations: 95.14 kB / 1.144 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.159, allocations: 23.44 kB / 1.144 GB, free: 3.816 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008768/1.16, allocations: 467.8 kB / 1.144 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.16, allocations: 102.9 kB / 1.144 GB, free: 3.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/1.162, allocations: 0.7008 MB / 1.145 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.162, allocations: 4.062 kB / 1.145 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.162, allocations: 1.094 kB / 1.145 GB, free: 3.254 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.162, allocations: 5.516 kB / 1.145 GB, free: 3.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/1.164, allocations: 1.095 MB / 1.146 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.164, allocations: 2.156 kB / 1.146 GB, free: 2.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/1.164, allocations: 26.3 kB / 1.146 GB, free: 2.609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.165, allocations: 253.4 kB / 1.146 GB, free: 2.535 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/1.165, allocations: 12.05 kB / 1.146 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/1.166, allocations: 1.022 MB / 1.147 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.166, allocations: 2.188 kB / 1.147 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/1.168, allocations: 0.8697 MB / 1.148 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/1.168, allocations: 226.3 kB / 1.148 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/1.169, allocations: 14.77 kB / 1.148 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007322/1.169, allocations: 57.12 kB / 1.148 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.17, allocations: 31.03 kB / 1.148 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/1.17, allocations: 12.14 kB / 1.149 GB, free: 1.195 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001748/1.171, allocations: 0.7894 MB / 1.149 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.465e-06/1.171, allocations: 0 / 1.149 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002446/1.174, allocations: 452.1 kB / 1.15 GB, free: 0.9023 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/1.177, allocations: 1.86 MB / 1.152 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003108/1.18, allocations: 1.202 MB / 1.153 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.18, allocations: 0 / 1.153 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007102/1.18, allocations: 279.2 kB / 1.153 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.183, allocations: 456.6 kB / 1.153 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/1.207, allocations: 9.919 MB / 1.163 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.208, allocations: 1.203 MB / 1.164 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001408/1.21, allocations: 312.5 kB / 1.165 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/1.21, allocations: 307.1 kB / 1.165 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of SimCode: time 4.468e-06/1.21, allocations: 0 / 1.165 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/1.271, allocations: 27.61 MB / 1.192 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.271, allocations: 274.6 kB / 1.192 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/4.371, allocations: 4.062 kB / 1.192 GB, free: 3.223 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)