Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001353/0.001353, allocations: 174.3 kB / 371 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.136/2.136, allocations: 205.4 MB / 0.6297 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.0009065/0.0009064, allocations: 97.61 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005016, allocations: 17.03 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2051, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.9082/1.113, allocations: 146.7 MB / 1.122 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006904/1.12, allocations: 3.367 MB / 1.125 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/1.121, allocations: 6.875 kB / 1.125 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006675/1.122, allocations: 113 kB / 1.125 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/1.123, allocations: 393.1 kB / 1.126 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/1.125, allocations: 373.2 kB / 1.126 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004529/1.13, allocations: 3.001 MB / 1.129 GB, free: 308 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.132, allocations: 0.7001 MB / 1.129 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/1.134, allocations: 0.8727 MB / 1.13 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/1.137, allocations: 0.7205 MB / 1.131 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/1.137, allocations: 37.75 kB / 1.131 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/1.14, allocations: 0.5541 MB / 1.132 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009942/1.141, allocations: 287.1 kB / 1.132 GB, free: 15.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/1.142, allocations: 230.2 kB / 1.132 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/1.144, allocations: 1.022 MB / 1.133 GB, free: 15.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.144, allocations: 3 kB / 1.133 GB, free: 15.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.144, allocations: 0 / 1.133 GB, free: 15.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.596e-05/1.144, allocations: 0 / 1.133 GB, free: 15.7 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.003761/1.148, allocations: 1.302 MB / 1.134 GB, free: 14.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/1.148, allocations: 12.5 kB / 1.134 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003027/1.148, allocations: 96.33 kB / 1.134 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/1.15, allocations: 184 kB / 1.135 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/1.152, allocations: 0.8008 MB / 1.135 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/1.152, allocations: 44.66 kB / 1.135 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/1.153, allocations: 63.12 kB / 1.136 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.155, allocations: 0.7879 MB / 1.136 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/1.155, allocations: 8.359 kB / 1.136 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/1.155, allocations: 21.31 kB / 1.136 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.155, allocations: 13.72 kB / 1.136 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/1.157, allocations: 0.5378 MB / 1.137 GB, free: 14.18 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.008068/1.165, allocations: 4.608 MB / 1.141 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.166, allocations: 427.2 kB / 1.142 GB, free: 10.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/1.167, allocations: 254.4 kB / 1.142 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004942/1.167, allocations: 193.9 kB / 1.142 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/1.168, allocations: 301.7 kB / 1.143 GB, free: 10.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 4.749e-06/1.169, allocations: 0 / 1.143 GB, free: 10.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.009694/1.178, allocations: 1.669 MB / 1.144 GB, free: 9.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/1.178, allocations: 85.58 kB / 1.144 GB, free: 9.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/1.181, allocations: 1.116 MB / 1.145 GB, free: 9.062 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/1.181, allocations: 35.64 kB / 1.145 GB, free: 9.031 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007846/1.182, allocations: 497.2 kB / 1.146 GB, free: 8.812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/1.182, allocations: 110.2 kB / 1.146 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/1.183, allocations: 9.281 kB / 1.146 GB, free: 8.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.183, allocations: 325.1 kB / 1.146 GB, free: 8.426 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/1.183, allocations: 184.9 kB / 1.146 GB, free: 8.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.184, allocations: 0.4939 MB / 1.147 GB, free: 7.965 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007903/1.185, allocations: 297 kB / 1.147 GB, free: 7.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.185, allocations: 1.531 kB / 1.147 GB, free: 7.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003949/1.189, allocations: 0.9937 MB / 1.148 GB, free: 7.477 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000278/1.19, allocations: 279.7 kB / 1.148 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.19, allocations: 6 kB / 1.148 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.192, allocations: 363 kB / 1.149 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/1.192, allocations: 62.44 kB / 1.149 GB, free: 7.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.195, allocations: 1.101 MB / 1.15 GB, free: 6.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.196, allocations: 104.8 kB / 1.15 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/1.197, allocations: 25.88 kB / 1.15 GB, free: 6.301 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.197, allocations: 3.906 kB / 1.15 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002457/1.199, allocations: 0.7345 MB / 1.151 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.199, allocations: 5.844 kB / 1.151 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.2, allocations: 221.4 kB / 1.151 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.201, allocations: 64.7 kB / 1.151 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/1.207, allocations: 3.032 MB / 1.154 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.208, allocations: 94.84 kB / 1.154 GB, free: 4.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/1.208, allocations: 28.95 kB / 1.154 GB, free: 4.137 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.0009392/1.209, allocations: 467.2 kB / 1.155 GB, free: 3.871 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.21, allocations: 97.34 kB / 1.155 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/1.212, allocations: 0.7246 MB / 1.155 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.212, allocations: 3.875 kB / 1.155 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.212, allocations: 0 / 1.155 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/1.212, allocations: 13.23 kB / 1.155 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/1.216, allocations: 1.603 MB / 1.157 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.216, allocations: 2.062 kB / 1.157 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/1.217, allocations: 37.58 kB / 1.157 GB, free: 2.754 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009196/1.218, allocations: 245.7 kB / 1.157 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/1.218, allocations: 12.19 kB / 1.157 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/1.219, allocations: 1.032 MB / 1.158 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.219, allocations: 2.25 kB / 1.158 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/1.222, allocations: 0.8408 MB / 1.159 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/1.223, allocations: 225.1 kB / 1.159 GB, free: 1.449 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.223, allocations: 18.41 kB / 1.159 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/1.224, allocations: 52.39 kB / 1.159 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.224, allocations: 35.83 kB / 1.159 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/1.224, allocations: 12.47 kB / 1.159 GB, free: 1.402 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00176/1.226, allocations: 0.7862 MB / 1.16 GB, free: 1.141 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.226, allocations: 0.5 kB / 1.16 GB, free: 1.141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002256/1.228, allocations: 450.6 kB / 1.161 GB, free: 1.109 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.002536/1.231, allocations: 1.375 MB / 1.162 GB, free: 188 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004297/1.235, allocations: 1.202 MB / 1.163 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.235, allocations: 0 / 1.163 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.236, allocations: 288.1 kB / 1.163 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/1.24, allocations: 459 kB / 1.164 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.26, allocations: 6.599 MB / 1.17 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/1.261, allocations: 1.183 MB / 1.171 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001667/1.263, allocations: 310.4 kB / 1.172 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/1.264, allocations: 310 kB / 1.172 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.264, allocations: 0 / 1.172 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.372, allocations: 27.59 MB / 1.199 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004155/1.373, allocations: 268 kB / 1.199 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/5.331, allocations: 0 / 1.199 GB, free: 4.254 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)