Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.706/1.706, allocations: 297.8 MB / 313.7 MB, free: 76 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 168.6 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 97.58 kB / 0.7808 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004372, allocations: 16.53 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7235, allocations: 120.3 MB / 1.026 GB, free: 56.69 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.846/4.57, allocations: 1.86 GB / 2.886 GB, free: 316.7 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/4.57, allocations: 86.81 kB / 2.886 GB, free: 316.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.378/4.948, allocations: 221.8 MB / 3.103 GB, free: 99.82 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.804e-06/4.948, allocations: 4 kB / 3.103 GB, free: 99.82 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.179e-05/4.948, allocations: 11.94 kB / 3.103 GB, free: 99.8 MB / 0.9792 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.0008023/4.949, allocations: 0.592 MB / 3.103 GB, free: 99.16 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/4.949, allocations: 12.03 kB / 3.103 GB, free: 99.15 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/4.949, allocations: 60.45 kB / 3.103 GB, free: 99.09 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/4.95, allocations: 318.7 kB / 3.104 GB, free: 98.74 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/4.95, allocations: 12.38 kB / 3.104 GB, free: 98.73 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/4.95, allocations: 12.38 kB / 3.104 GB, free: 98.71 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/4.95, allocations: 201.4 kB / 3.104 GB, free: 98.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/4.95, allocations: 3.938 kB / 3.104 GB, free: 98.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/4.95, allocations: 12 kB / 3.104 GB, free: 98.49 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/4.95, allocations: 4 kB / 3.104 GB, free: 98.48 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/4.95, allocations: 120.8 kB / 3.104 GB, free: 98.37 MB / 0.9792 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.0007536/4.951, allocations: 0.8003 MB / 3.105 GB, free: 97.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/4.951, allocations: 74.61 kB / 3.105 GB, free: 97.41 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/4.952, allocations: 84.73 kB / 3.105 GB, free: 97.33 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/4.952, allocations: 182.2 kB / 3.105 GB, free: 97.11 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/4.952, allocations: 34.56 kB / 3.105 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/4.952, allocations: 0 / 3.105 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=10): time 0.0005346/4.952, allocations: 225.2 kB / 3.105 GB, free: 96.84 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/4.952, allocations: 55.34 kB / 3.105 GB, free: 96.78 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/4.953, allocations: 267 kB / 3.106 GB, free: 96.51 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/4.953, allocations: 33.7 kB / 3.106 GB, free: 96.47 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/4.953, allocations: 148 kB / 3.106 GB, free: 96.32 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/4.953, allocations: 31.47 kB / 3.106 GB, free: 96.29 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/4.953, allocations: 4 kB / 3.106 GB, free: 96.29 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/4.953, allocations: 338.8 kB / 3.106 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/4.953, allocations: 39.97 kB / 3.106 GB, free: 95.91 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/4.953, allocations: 110.8 kB / 3.106 GB, free: 95.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/4.953, allocations: 127.9 kB / 3.106 GB, free: 95.64 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/4.953, allocations: 4 kB / 3.106 GB, free: 95.63 MB / 0.9792 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002725/4.954, allocations: 169.4 kB / 3.107 GB, free: 95.46 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/4.954, allocations: 111.6 kB / 3.107 GB, free: 95.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/4.954, allocations: 0 / 3.107 GB, free: 95.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/4.954, allocations: 4 kB / 3.107 GB, free: 95.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/4.954, allocations: 27.92 kB / 3.107 GB, free: 95.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/4.954, allocations: 4 kB / 3.107 GB, free: 95.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/4.954, allocations: 27.77 kB / 3.107 GB, free: 95.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/4.954, allocations: 15.92 kB / 3.107 GB, free: 95.26 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-06/4.954, allocations: 4 kB / 3.107 GB, free: 95.25 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000222/4.954, allocations: 111.9 kB / 3.107 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/4.954, allocations: 4 kB / 3.107 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/4.954, allocations: 0 / 3.107 GB, free: 95.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/4.954, allocations: 23.98 kB / 3.107 GB, free: 95.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/4.954, allocations: 3.938 kB / 3.107 GB, free: 95.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/4.954, allocations: 35.86 kB / 3.107 GB, free: 95.08 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/4.954, allocations: 7.984 kB / 3.107 GB, free: 95.07 MB / 0.9792 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.0001114/4.955, allocations: 215.5 kB / 3.107 GB, free: 94.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/4.955, allocations: 27.66 kB / 3.107 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/4.955, allocations: 171.3 kB / 3.107 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/4.955, allocations: 0 / 3.107 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/4.955, allocations: 0 / 3.107 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/4.955, allocations: 0 / 3.107 GB, free: 94.65 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006838/4.956, allocations: 0.5937 MB / 3.108 GB, free: 93.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/4.956, allocations: 0 / 3.108 GB, free: 93.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/4.956, allocations: 36.08 kB / 3.108 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/4.956, allocations: 4 kB / 3.108 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/4.956, allocations: 0 / 3.108 GB, free: 93.94 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/4.956, allocations: 4 kB / 3.108 GB, free: 93.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.956, allocations: 7.938 kB / 3.108 GB, free: 93.93 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/4.956, allocations: 301.1 kB / 3.108 GB, free: 93.59 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/4.956, allocations: 112.8 kB / 3.108 GB, free: 93.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/4.956, allocations: 7.938 kB / 3.108 GB, free: 93.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/4.956, allocations: 19.97 kB / 3.108 GB, free: 93.44 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/4.956, allocations: 11.94 kB / 3.108 GB, free: 93.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/4.957, allocations: 8.188 kB / 3.108 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001351/4.957, allocations: 197.9 kB / 3.109 GB, free: 93.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/4.957, allocations: 3.938 kB / 3.109 GB, free: 93.22 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006974/4.957, allocations: 175.8 kB / 3.109 GB, free: 93.05 MB / 0.9792 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.0009394/4.958, allocations: 0.8933 MB / 3.11 GB, free: 92.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003817/4.959, allocations: 167.8 kB / 3.11 GB, free: 92 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/4.959, allocations: 0 / 3.11 GB, free: 92 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/4.959, allocations: 67.89 kB / 3.11 GB, free: 91.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/4.96, allocations: 141.1 kB / 3.11 GB, free: 91.79 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/4.96, allocations: 0.5049 MB / 3.111 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/4.96, allocations: 0.756 MB / 3.111 GB, free: 90.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002063/4.961, allocations: 62.23 kB / 3.111 GB, free: 90.39 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/4.961, allocations: 19.44 kB / 3.111 GB, free: 90.38 MB / 0.9792 GB Notification: Performance of SimCode: time 2.2e-07/4.961, allocations: 4 kB / 3.111 GB, free: 90.38 MB / 0.9792 GB Notification: Performance of Templates: time 0.01756/4.978, allocations: 15 MB / 3.126 GB, free: 75.44 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)