Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001189/0.001189, allocations: 174.1 kB / 371.8 MB, free: 10.28 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.907/1.907, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0009434/0.0009434, allocations: 98.86 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2607, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7175/0.9783, allocations: 135.6 MB / 1.112 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002837/0.9812, allocations: 1.611 MB / 1.113 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.9815, allocations: 8.062 kB / 1.113 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.9822, allocations: 174.9 kB / 1.114 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.9839, allocations: 497.2 kB / 1.114 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.9855, allocations: 427.1 kB / 1.114 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.9863, allocations: 366.4 kB / 1.115 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.9866, allocations: 140.9 kB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.9872, allocations: 219.7 kB / 1.115 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.9873, allocations: 101.9 kB / 1.115 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.9874, allocations: 11.62 kB / 1.115 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009493/0.9883, allocations: 381.3 kB / 1.116 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.9884, allocations: 70.33 kB / 1.116 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.9886, allocations: 74.38 kB / 1.116 GB, free: 17.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.9892, allocations: 279.1 kB / 1.116 GB, free: 17.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.9892, allocations: 0 / 1.116 GB, free: 17.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9892, allocations: 0 / 1.116 GB, free: 17.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9892, allocations: 0 / 1.116 GB, free: 17.55 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.000894/0.9901, allocations: 0.5342 MB / 1.117 GB, free: 17.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9901, allocations: 10.7 kB / 1.117 GB, free: 17.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.9905, allocations: 56.98 kB / 1.117 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.9909, allocations: 281.9 kB / 1.117 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.991, allocations: 8.969 kB / 1.117 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.991, allocations: 16 kB / 1.117 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.9914, allocations: 192.5 kB / 1.117 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9915, allocations: 5.25 kB / 1.117 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.9915, allocations: 6.25 kB / 1.117 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9915, allocations: 3.656 kB / 1.117 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.9918, allocations: 135.4 kB / 1.117 GB, free: 16.79 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.001065/0.9929, allocations: 0.7892 MB / 1.118 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.9932, allocations: 94.91 kB / 1.118 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.9932, allocations: 12.39 kB / 1.118 GB, free: 16.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9933, allocations: 39.47 kB / 1.118 GB, free: 16.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.9933, allocations: 0 / 1.118 GB, free: 16.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0007449/0.994, allocations: 230.7 kB / 1.118 GB, free: 16.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.9941, allocations: 54.67 kB / 1.118 GB, free: 16.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.9944, allocations: 264.9 kB / 1.119 GB, free: 15.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.9944, allocations: 29.95 kB / 1.119 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.9945, allocations: 145.5 kB / 1.119 GB, free: 15.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.9946, allocations: 33.42 kB / 1.119 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.9946, allocations: 6.938 kB / 1.119 GB, free: 15.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9947, allocations: 335.1 kB / 1.119 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.9949, allocations: 44.69 kB / 1.119 GB, free: 15.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.9951, allocations: 101.1 kB / 1.119 GB, free: 15.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.9952, allocations: 57.5 kB / 1.119 GB, free: 15.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9953, allocations: 0 / 1.119 GB, free: 15.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003688/0.9956, allocations: 168.2 kB / 1.12 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.9958, allocations: 363.2 kB / 1.12 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9958, allocations: 1.234 kB / 1.12 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9958, allocations: 1.062 kB / 1.12 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.996, allocations: 31.88 kB / 1.12 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.996, allocations: 1 kB / 1.12 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.9962, allocations: 29.36 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.9962, allocations: 5.094 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.9962, allocations: 3.562 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002898/0.9965, allocations: 114.5 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9965, allocations: 7.344 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.9965, allocations: 1.219 kB / 1.12 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.9967, allocations: 27.09 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.9967, allocations: 1.125 kB / 1.12 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.9969, allocations: 26.81 kB / 1.12 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.9969, allocations: 5.094 kB / 1.12 GB, free: 14.98 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.0001928/0.9971, allocations: 223.1 kB / 1.12 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.9971, allocations: 24.97 kB / 1.12 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.9975, allocations: 167.2 kB / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9976, allocations: 1.031 kB / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.9976, allocations: 7.391 kB / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9976, allocations: 3.188 kB / 1.121 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.9985, allocations: 0.5977 MB / 1.121 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.9985, allocations: 3.469 kB / 1.121 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.9986, allocations: 26.52 kB / 1.121 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9986, allocations: 8.781 kB / 1.121 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.9987, allocations: 5.75 kB / 1.121 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9987, allocations: 6.781 kB / 1.121 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.9987, allocations: 3 kB / 1.121 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.9991, allocations: 393 kB / 1.122 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.9993, allocations: 119.4 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.9993, allocations: 2.625 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.9995, allocations: 17.94 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.9996, allocations: 13.97 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.9996, allocations: 7.594 kB / 1.122 GB, free: 13.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001925/0.9998, allocations: 192.3 kB / 1.122 GB, free: 13.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9998, allocations: 0 / 1.122 GB, free: 13.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005927/1, allocations: 91.23 kB / 1.122 GB, free: 13.81 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.0005493/1.001, allocations: 170.9 kB / 1.122 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005492/1.002, allocations: 178.5 kB / 1.122 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.002, allocations: 1.125 kB / 1.122 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/1.002, allocations: 66.56 kB / 1.122 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008621/1.003, allocations: 134.5 kB / 1.123 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/1.003, allocations: 0.497 MB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/1.004, allocations: 0.7602 MB / 1.124 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002506/1.004, allocations: 77.73 kB / 1.124 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/1.004, allocations: 19.78 kB / 1.124 GB, free: 12.61 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/1.004, allocations: 0 / 1.124 GB, free: 12.61 MB / 0.698 GB Notification: Performance of Templates: time 0.00852/1.013, allocations: 4.127 MB / 1.128 GB, free: 11.75 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)