Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 184.2 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007769/0.0007768, allocations: 82.33 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.000423, allocations: 7.844 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2582, allocations: 106.3 MB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1806/0.4388, allocations: 146.8 MB / 1.044 GB, free: 12.66 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.4432, allocations: 1.655 MB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.4437, allocations: 7.938 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.4444, allocations: 107.2 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.446, allocations: 382.2 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.4477, allocations: 360.2 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001223/0.4489, allocations: 0.6473 MB / 1.047 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.4493, allocations: 128.5 kB / 1.047 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.4501, allocations: 270.8 kB / 1.047 GB, free: 9.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.4505, allocations: 151.3 kB / 1.047 GB, free: 8.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.4505, allocations: 8 kB / 1.047 GB, free: 8.969 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.4519, allocations: 0.5184 MB / 1.048 GB, free: 8.449 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4521, allocations: 75.66 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.4522, allocations: 69.58 kB / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.4529, allocations: 327.6 kB / 1.048 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.4529, allocations: 0 / 1.048 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4529, allocations: 7.938 kB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.4529, allocations: 0 / 1.048 GB, free: 7.973 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001256/0.4542, allocations: 0.5528 MB / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.4543, allocations: 8.031 kB / 1.049 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.496e-05/0.4544, allocations: 46.56 kB / 1.049 GB, free: 7.309 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.4549, allocations: 51.67 kB / 1.049 GB, free: 7.258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.4554, allocations: 281.4 kB / 1.049 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.4555, allocations: 16 kB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.4556, allocations: 20 kB / 1.049 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.4561, allocations: 192.1 kB / 1.049 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4562, allocations: 0 / 1.049 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.4562, allocations: 8 kB / 1.049 GB, free: 6.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4562, allocations: 8 kB / 1.049 GB, free: 6.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4567, allocations: 135.8 kB / 1.049 GB, free: 6.559 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.001457/0.4582, allocations: 0.7771 MB / 1.05 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4586, allocations: 94.47 kB / 1.05 GB, free: 5.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.4589, allocations: 80.86 kB / 1.05 GB, free: 5.527 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/0.4594, allocations: 190.2 kB / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.4594, allocations: 34.56 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/0.4594, allocations: 0 / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0009891/0.4604, allocations: 233.2 kB / 1.051 GB, free: 5.027 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4605, allocations: 51.41 kB / 1.051 GB, free: 4.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.4609, allocations: 267 kB / 1.051 GB, free: 4.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.461, allocations: 29.7 kB / 1.051 GB, free: 4.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.4611, allocations: 147.9 kB / 1.051 GB, free: 4.504 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.4612, allocations: 39.48 kB / 1.051 GB, free: 4.465 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.4612, allocations: 0 / 1.051 GB, free: 4.465 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4614, allocations: 338.8 kB / 1.052 GB, free: 4.125 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4616, allocations: 43.97 kB / 1.052 GB, free: 4.082 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.4618, allocations: 105.4 kB / 1.052 GB, free: 3.961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4621, allocations: 55.94 kB / 1.052 GB, free: 3.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.4621, allocations: 0 / 1.052 GB, free: 3.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005213/0.4626, allocations: 173.2 kB / 1.052 GB, free: 3.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.4628, allocations: 119.6 kB / 1.052 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4628, allocations: 0 / 1.052 GB, free: 3.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.4628, allocations: 4 kB / 1.052 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.463, allocations: 19.98 kB / 1.052 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.463, allocations: 4 kB / 1.052 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.4633, allocations: 19.89 kB / 1.052 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.4634, allocations: 15.95 kB / 1.052 GB, free: 3.535 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.4634, allocations: 4 kB / 1.052 GB, free: 3.531 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003947/0.4638, allocations: 119.8 kB / 1.052 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.4638, allocations: 0 / 1.052 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.4638, allocations: 4 kB / 1.052 GB, free: 3.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.464, allocations: 28.02 kB / 1.052 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.464, allocations: 0 / 1.052 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4642, allocations: 23.83 kB / 1.052 GB, free: 3.359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4643, allocations: 4 kB / 1.052 GB, free: 3.355 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.4645, allocations: 221.6 kB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.4646, allocations: 31.75 kB / 1.053 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.4652, allocations: 171.2 kB / 1.053 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4652, allocations: 4 kB / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4653, allocations: 0 / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4653, allocations: 0 / 1.053 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.4667, allocations: 0.6018 MB / 1.053 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.4667, allocations: 4 kB / 1.053 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.4669, allocations: 23.98 kB / 1.053 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4669, allocations: 0 / 1.053 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.4669, allocations: 8.047 kB / 1.053 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.4669, allocations: 15.98 kB / 1.053 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4669, allocations: 4.203 kB / 1.053 GB, free: 2.184 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.4675, allocations: 305.4 kB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4677, allocations: 112.9 kB / 1.054 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.4678, allocations: 11.94 kB / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.4681, allocations: 19.98 kB / 1.054 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.4682, allocations: 15.88 kB / 1.054 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.4682, allocations: 8 kB / 1.054 GB, free: 1.664 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002706/0.4685, allocations: 197.9 kB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4685, allocations: 0 / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008106/0.4693, allocations: 95.83 kB / 1.054 GB, free: 1.379 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.4707, allocations: 0.8996 MB / 1.055 GB, free: 452 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007214/0.4714, allocations: 183.7 kB / 1.055 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4715, allocations: 0 / 1.055 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.4717, allocations: 64.47 kB / 1.055 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.473, allocations: 140 kB / 1.055 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4723/0.9453, allocations: 1.328 MB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.9456, allocations: 0.7599 MB / 1.057 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.9458, allocations: 65.97 kB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.946, allocations: 67.7 kB / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/0.946, allocations: 0 / 1.058 GB, free: 155.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.9667, allocations: 6.566 MB / 1.064 GB, free: 155 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.9669, allocations: 233.2 kB / 1.064 GB, free: 154.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.904, allocations: 0 / 1.064 GB, free: 154.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)