Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.689/2.689, allocations: 287.5 MB / 302.4 MB, free: 8.164 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.001416/0.001416, allocations: 189.6 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009103/0.00091, allocations: 92.59 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008058/0.0008065, allocations: 15.75 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2677, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9859/1.254, allocations: 146.6 MB / 1.122 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004144/1.258, allocations: 1.605 MB / 1.123 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005429/1.259, allocations: 12.5 kB / 1.123 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/1.259, allocations: 105.1 kB / 1.123 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/1.261, allocations: 381.8 kB / 1.124 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/1.263, allocations: 359.1 kB / 1.124 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001564/1.265, allocations: 0.6532 MB / 1.125 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/1.265, allocations: 132.2 kB / 1.125 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009903/1.266, allocations: 264.9 kB / 1.125 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/1.267, allocations: 149.2 kB / 1.125 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/1.267, allocations: 9.25 kB / 1.125 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/1.268, allocations: 0.5226 MB / 1.126 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/1.269, allocations: 75.7 kB / 1.126 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/1.269, allocations: 68.94 kB / 1.126 GB, free: 16.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009347/1.27, allocations: 337.4 kB / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.27, allocations: 1.859 kB / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.27, allocations: 0 / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.645e-06/1.27, allocations: 0 / 1.126 GB, free: 16.54 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.001085/1.271, allocations: 0.547 MB / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.271, allocations: 10.78 kB / 1.127 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/1.272, allocations: 48.69 kB / 1.127 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006373/1.272, allocations: 280.7 kB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/1.272, allocations: 11.22 kB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/1.272, allocations: 14.44 kB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005768/1.273, allocations: 193 kB / 1.127 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.273, allocations: 0 / 1.127 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/1.273, allocations: 9.594 kB / 1.127 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/1.273, allocations: 6.906 kB / 1.127 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/1.274, allocations: 141.3 kB / 1.127 GB, free: 15.77 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.001464/1.275, allocations: 0.789 MB / 1.128 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/1.275, allocations: 89.78 kB / 1.128 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/1.276, allocations: 80.16 kB / 1.128 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/1.276, allocations: 186.2 kB / 1.128 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.276, allocations: 41.88 kB / 1.128 GB, free: 14.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/1.276, allocations: 0 / 1.128 GB, free: 14.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001062/1.277, allocations: 235 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/1.277, allocations: 53.75 kB / 1.129 GB, free: 14.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/1.278, allocations: 266.2 kB / 1.129 GB, free: 14.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/1.278, allocations: 25.7 kB / 1.129 GB, free: 14.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.278, allocations: 154.4 kB / 1.129 GB, free: 14.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/1.278, allocations: 28.33 kB / 1.129 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/1.278, allocations: 2.875 kB / 1.129 GB, free: 14.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.278, allocations: 336.4 kB / 1.129 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/1.278, allocations: 46.12 kB / 1.13 GB, free: 14.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.279, allocations: 94.25 kB / 1.13 GB, free: 14.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.279, allocations: 62.42 kB / 1.13 GB, free: 14.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.279, allocations: 0 / 1.13 GB, free: 14.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006163/1.28, allocations: 166.9 kB / 1.13 GB, free: 14.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/1.28, allocations: 115.1 kB / 1.13 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.28, allocations: 2.578 kB / 1.13 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.28, allocations: 0 / 1.13 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/1.28, allocations: 35.52 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.28, allocations: 0.625 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/1.28, allocations: 29.81 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/1.281, allocations: 2.531 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/1.281, allocations: 5.281 kB / 1.13 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004838/1.281, allocations: 117.4 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/1.281, allocations: 0 / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/1.281, allocations: 3.219 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.281, allocations: 30.89 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/1.281, allocations: 1.859 kB / 1.13 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/1.282, allocations: 35.31 kB / 1.13 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.282, allocations: 5.766 kB / 1.13 GB, free: 14.02 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.0002507/1.282, allocations: 214.7 kB / 1.13 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/1.282, allocations: 27.41 kB / 1.13 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/1.283, allocations: 172 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.283, allocations: 0 / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.283, allocations: 9.234 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/1.283, allocations: 3.938 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/1.284, allocations: 0.5984 MB / 1.131 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.284, allocations: 9.969 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/1.284, allocations: 25.88 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.285, allocations: 2.812 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.285, allocations: 2.812 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.285, allocations: 2.469 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.285, allocations: 2.219 kB / 1.131 GB, free: 13.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/1.285, allocations: 313.8 kB / 1.132 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/1.285, allocations: 112.9 kB / 1.132 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/1.286, allocations: 5.688 kB / 1.132 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/1.286, allocations: 16.92 kB / 1.132 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/1.286, allocations: 16.84 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/1.286, allocations: 6.594 kB / 1.132 GB, free: 13.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002905/1.286, allocations: 194.9 kB / 1.132 GB, free: 12.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.286, allocations: 1.062 kB / 1.132 GB, free: 12.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007099/1.287, allocations: 88.16 kB / 1.132 GB, free: 12.96 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.0005052/1.288, allocations: 167.4 kB / 1.132 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008408/1.288, allocations: 175.4 kB / 1.132 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.288, allocations: 3.438 kB / 1.132 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/1.289, allocations: 68.12 kB / 1.132 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.29, allocations: 134.3 kB / 1.132 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.291, allocations: 0.4972 MB / 1.133 GB, free: 12.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/1.292, allocations: 0.7586 MB / 1.134 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005001/1.292, allocations: 74.36 kB / 1.134 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/1.292, allocations: 18.69 kB / 1.134 GB, free: 11.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.292, allocations: 0 / 1.134 GB, free: 11.78 MB / 0.698 GB Notification: Performance of Templates: time 0.01351/1.306, allocations: 4.133 MB / 1.138 GB, free: 11.2 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)