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 1.595/1.595, allocations: 287.4 MB / 302.5 MB, free: 8.273 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.0009546/0.0009546, allocations: 184.5 kB / 371.1 MB, free: 10.83 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.454/1.454, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007641/0.0007642, allocations: 89.28 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003948, allocations: 11.91 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6091/0.7991, allocations: 146.7 MB / 1.122 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004485/0.8037, allocations: 3.361 MB / 1.125 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.8041, allocations: 13.28 kB / 1.125 GB, free: 1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.8046, allocations: 109.7 kB / 1.125 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.8059, allocations: 388.3 kB / 1.126 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.8071, allocations: 374.3 kB / 1.126 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003036/0.8101, allocations: 3.037 MB / 1.129 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.8112, allocations: 0.7356 MB / 1.13 GB, free: 216 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.8131, allocations: 0.8815 MB / 1.131 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.8144, allocations: 0.7193 MB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.8146, allocations: 34.17 kB / 1.131 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.8162, allocations: 0.56 MB / 1.132 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.8165, allocations: 285.1 kB / 1.132 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.8169, allocations: 230.8 kB / 1.132 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.818, allocations: 1.023 MB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.818, allocations: 4 kB / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.818, allocations: 0 / 1.133 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.818, allocations: 0 / 1.133 GB, free: 15.75 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.002042/0.8201, allocations: 1.297 MB / 1.135 GB, free: 14.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.8201, allocations: 9.312 kB / 1.135 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.8202, allocations: 93.78 kB / 1.135 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.8209, allocations: 185.4 kB / 1.135 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.8223, allocations: 0.8432 MB / 1.136 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.8223, allocations: 43.38 kB / 1.136 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.8224, allocations: 64.67 kB / 1.136 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.8235, allocations: 0.7934 MB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.8236, allocations: 1.719 kB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.8236, allocations: 21.62 kB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.8237, allocations: 17.78 kB / 1.137 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009013/0.8246, allocations: 0.5419 MB / 1.137 GB, free: 14.17 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.004124/0.8287, allocations: 4.608 MB / 1.142 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.8295, allocations: 427.5 kB / 1.142 GB, free: 10.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.8299, allocations: 252 kB / 1.142 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003217/0.8302, allocations: 194.7 kB / 1.143 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005511/0.8308, allocations: 305.8 kB / 1.143 GB, free: 10.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/0.8308, allocations: 3.938 kB / 1.143 GB, free: 10.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.005163/0.836, allocations: 1.691 MB / 1.145 GB, free: 9.496 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.836, allocations: 84.98 kB / 1.145 GB, free: 9.398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.8375, allocations: 1.113 MB / 1.146 GB, free: 9.043 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.8376, allocations: 36.39 kB / 1.146 GB, free: 9.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.838, allocations: 491.9 kB / 1.146 GB, free: 8.797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.8381, allocations: 113 kB / 1.146 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.8381, allocations: 7.844 kB / 1.146 GB, free: 8.719 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.8382, allocations: 329.5 kB / 1.147 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003458/0.8386, allocations: 181.2 kB / 1.147 GB, free: 8.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.8392, allocations: 0.495 MB / 1.147 GB, free: 7.945 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.8401, allocations: 0.5924 MB / 1.148 GB, free: 7.617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8401, allocations: 0.6562 kB / 1.148 GB, free: 7.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002217/0.8423, allocations: 0.9924 MB / 1.149 GB, free: 7.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.8425, allocations: 275.2 kB / 1.149 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.8425, allocations: 4.594 kB / 1.149 GB, free: 6.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.8438, allocations: 364.7 kB / 1.149 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.8441, allocations: 59.25 kB / 1.15 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.8454, allocations: 1.106 MB / 1.151 GB, free: 6.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.8463, allocations: 111.5 kB / 1.151 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.8464, allocations: 22.25 kB / 1.151 GB, free: 6.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-06/0.8464, allocations: 3.375 kB / 1.151 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.8477, allocations: 0.7351 MB / 1.151 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.8477, allocations: 5.188 kB / 1.151 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.8482, allocations: 232 kB / 1.152 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.8485, allocations: 63.12 kB / 1.152 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.8521, allocations: 3.037 MB / 1.155 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009913/0.8531, allocations: 89.59 kB / 1.155 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.8532, allocations: 25.83 kB / 1.155 GB, free: 3.883 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.0008865/0.854, allocations: 465.4 kB / 1.155 GB, free: 3.617 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.8542, allocations: 103.4 kB / 1.155 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.8557, allocations: 0.7204 MB / 1.156 GB, free: 3.312 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.8557, allocations: 7.906 kB / 1.156 GB, free: 3.309 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8557, allocations: 0 / 1.156 GB, free: 3.309 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.8557, allocations: 5.172 kB / 1.156 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.8585, allocations: 1.607 MB / 1.158 GB, free: 2.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.8586, allocations: 6.453 kB / 1.158 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.8587, allocations: 25.77 kB / 1.158 GB, free: 2.504 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.8593, allocations: 256.3 kB / 1.158 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.8593, allocations: 7.656 kB / 1.158 GB, free: 2.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.8606, allocations: 1.033 MB / 1.159 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8606, allocations: 1.469 kB / 1.159 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.8623, allocations: 0.8396 MB / 1.16 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.8628, allocations: 223.7 kB / 1.16 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.863, allocations: 15.33 kB / 1.16 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.8635, allocations: 51.64 kB / 1.16 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.8636, allocations: 39.86 kB / 1.16 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.8636, allocations: 12.25 kB / 1.16 GB, free: 1.148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001299/0.8649, allocations: 0.786 MB / 1.161 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8649, allocations: 0 / 1.161 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001331/0.8663, allocations: 453.6 kB / 1.161 GB, free: 0.8555 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.001513/0.8678, allocations: 1.364 MB / 1.163 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.8701, allocations: 1.206 MB / 1.164 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8702, allocations: 0 / 1.164 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.8707, allocations: 283 kB / 1.164 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.8728, allocations: 457.4 kB / 1.165 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.8842, allocations: 6.6 MB / 1.171 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.8849, allocations: 1.189 MB / 1.172 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001005/0.8859, allocations: 312.1 kB / 1.172 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.8863, allocations: 306.9 kB / 1.173 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/0.8863, allocations: 0 / 1.173 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.615/1.501, allocations: 27.58 MB / 1.2 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/1.502, allocations: 257.2 kB / 1.2 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/4.724, allocations: 0 / 1.2 GB, free: 3.828 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)