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: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 252 MB / 267.6 MB, free: 10.96 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.001003/0.001003, allocations: 186.6 kB / 327.3 MB, free: 2.219 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.893/1.893, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008344/0.0008343, allocations: 86.31 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 9.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1701/0.4112, allocations: 146.8 MB / 1.044 GB, free: 12.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003058/0.4143, allocations: 1.657 MB / 1.046 GB, free: 11.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.4146, allocations: 7.938 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.4151, allocations: 107.2 kB / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.4162, allocations: 388.8 kB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4172, allocations: 358.8 kB / 1.047 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.418, allocations: 0.6434 MB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.4182, allocations: 140.5 kB / 1.047 GB, free: 9.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.4188, allocations: 262.8 kB / 1.048 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.419, allocations: 147.4 kB / 1.048 GB, free: 9.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.419, allocations: 8 kB / 1.048 GB, free: 9.051 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008374/0.4199, allocations: 0.5184 MB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.42, allocations: 79.7 kB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.42, allocations: 73.52 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.4205, allocations: 327.6 kB / 1.049 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4205, allocations: 0 / 1.049 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4205, allocations: 0 / 1.049 GB, free: 8.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4206, allocations: 4 kB / 1.049 GB, free: 8.051 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.0007998/0.4214, allocations: 0.5411 MB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4214, allocations: 8.031 kB / 1.049 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.4218, allocations: 63.67 kB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.4222, allocations: 281.4 kB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.4222, allocations: 12 kB / 1.05 GB, free: 7.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4222, allocations: 12 kB / 1.05 GB, free: 7.055 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.4227, allocations: 200.6 kB / 1.05 GB, free: 6.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4227, allocations: 4 kB / 1.05 GB, free: 6.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.4227, allocations: 8 kB / 1.05 GB, free: 6.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4227, allocations: 0 / 1.05 GB, free: 6.832 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.423, allocations: 131.9 kB / 1.05 GB, free: 6.703 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.001135/0.4242, allocations: 0.7926 MB / 1.051 GB, free: 5.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.4245, allocations: 90.58 kB / 1.051 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.4246, allocations: 88.73 kB / 1.051 GB, free: 5.652 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003451/0.425, allocations: 186.2 kB / 1.051 GB, free: 5.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.425, allocations: 34.56 kB / 1.051 GB, free: 5.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.425, allocations: 0 / 1.051 GB, free: 5.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006926/0.4257, allocations: 233.2 kB / 1.051 GB, free: 5.156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.4258, allocations: 51.41 kB / 1.051 GB, free: 5.094 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4261, allocations: 263 kB / 1.052 GB, free: 4.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4261, allocations: 33.7 kB / 1.052 GB, free: 4.781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4262, allocations: 147.9 kB / 1.052 GB, free: 4.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.4263, allocations: 43.47 kB / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.4263, allocations: 0 / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4265, allocations: 334.8 kB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4266, allocations: 43.97 kB / 1.052 GB, free: 4.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.4268, allocations: 101 kB / 1.052 GB, free: 4.094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.4269, allocations: 59.95 kB / 1.052 GB, free: 4.035 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4269, allocations: 0 / 1.052 GB, free: 4.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003266/0.4273, allocations: 161.3 kB / 1.052 GB, free: 3.871 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.4274, allocations: 122.2 kB / 1.053 GB, free: 3.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4274, allocations: 4.5 kB / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4274, allocations: 0 / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.4275, allocations: 27.92 kB / 1.053 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4275, allocations: 4 kB / 1.053 GB, free: 3.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.4277, allocations: 23.89 kB / 1.053 GB, free: 3.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.4278, allocations: 4 kB / 1.053 GB, free: 3.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.4278, allocations: 11.89 kB / 1.053 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000281/0.4281, allocations: 119.8 kB / 1.053 GB, free: 3.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.4281, allocations: 4.031 kB / 1.053 GB, free: 3.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4281, allocations: 4 kB / 1.053 GB, free: 3.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4282, allocations: 27.92 kB / 1.053 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4282, allocations: 4 kB / 1.053 GB, free: 3.508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4284, allocations: 20.2 kB / 1.053 GB, free: 3.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.4284, allocations: 4 kB / 1.053 GB, free: 3.484 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.00015/0.4286, allocations: 217.1 kB / 1.053 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.4286, allocations: 31.66 kB / 1.053 GB, free: 3.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.4292, allocations: 171.3 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.4292, allocations: 4 kB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4292, allocations: 4 kB / 1.053 GB, free: 3.047 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4293, allocations: 0 / 1.053 GB, free: 3.047 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4303, allocations: 0.6014 MB / 1.054 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4303, allocations: 4 kB / 1.054 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4304, allocations: 23.98 kB / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4304, allocations: 224 / 1.054 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4304, allocations: 8 kB / 1.054 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.4305, allocations: 7.984 kB / 1.054 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4305, allocations: 3.938 kB / 1.054 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.4309, allocations: 305.1 kB / 1.054 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.431, allocations: 112.8 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4311, allocations: 8.062 kB / 1.054 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4313, allocations: 23.98 kB / 1.054 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.4314, allocations: 11.94 kB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4314, allocations: 4 kB / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002209/0.4316, allocations: 194 kB / 1.055 GB, free: 1.621 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.304e-06/0.4317, allocations: 0 / 1.055 GB, free: 1.621 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005296/0.4322, allocations: 107.8 kB / 1.055 GB, free: 1.516 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.0004887/0.4327, allocations: 162.4 kB / 1.055 GB, free: 1.355 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.4332, allocations: 184.2 kB / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4333, allocations: 0 / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.4334, allocations: 71.83 kB / 1.055 GB, free: 1.105 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.4344, allocations: 132.2 kB / 1.055 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.4353, allocations: 0.5185 MB / 1.056 GB, free: 420 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4325/0.8678, allocations: 0.7512 MB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8679, allocations: 22.53 kB / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.363e-06/0.8679, allocations: 0 / 1.056 GB, free: 156.1 MB / 0.698 GB Notification: Performance of Templates: time 0.007381/0.8753, allocations: 3.719 MB / 1.06 GB, free: 156 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)