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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.697/1.697, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005364, allocations: 16 kB / 0.6243 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6014, allocations: 106.3 MB / 0.7281 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1964/0.7979, allocations: 146.8 MB / 0.8715 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.8015, allocations: 1.649 MB / 0.8731 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.8019, allocations: 11.94 kB / 0.8731 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.8024, allocations: 107.2 kB / 0.8732 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.8037, allocations: 374.2 kB / 0.8735 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.8049, allocations: 373.7 kB / 0.8739 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.8058, allocations: 0.6434 MB / 0.8745 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.8061, allocations: 130.5 kB / 0.8747 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006293/0.8067, allocations: 270.8 kB / 0.8749 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.8071, allocations: 151.4 kB / 0.8751 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.8071, allocations: 4 kB / 0.8751 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.8082, allocations: 0.53 MB / 0.8756 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.8083, allocations: 67.78 kB / 0.8756 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.8083, allocations: 69.58 kB / 0.8757 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.8088, allocations: 327.3 kB / 0.876 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8088, allocations: 4 kB / 0.876 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.238e-06/0.8088, allocations: 0 / 0.876 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8089, allocations: 3.938 kB / 0.876 GB, free: 3.586 MB / 0.6856 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.000781/0.8096, allocations: 0.5411 MB / 0.8766 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8097, allocations: 8.031 kB / 0.8766 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.81, allocations: 55.67 kB / 0.8766 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000472/0.8105, allocations: 289.4 kB / 0.8769 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.8105, allocations: 8 kB / 0.8769 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.8106, allocations: 16 kB / 0.8769 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.811, allocations: 192.6 kB / 0.8771 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.811, allocations: 0 / 0.8771 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.811, allocations: 4 kB / 0.8771 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.811, allocations: 8 kB / 0.8771 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000371/0.8114, allocations: 143.8 kB / 0.8773 GB, free: 2.234 MB / 0.6856 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.001049/0.8125, allocations: 0.781 MB / 0.878 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.8127, allocations: 90.47 kB / 0.8781 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.8129, allocations: 76.88 kB / 0.8782 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/0.8132, allocations: 194.1 kB / 0.8784 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.8133, allocations: 34.56 kB / 0.8784 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.8133, allocations: 0 / 0.8784 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006533/0.8139, allocations: 237.4 kB / 0.8786 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.814, allocations: 55.41 kB / 0.8787 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.8142, allocations: 267 kB / 0.8789 GB, free: 372 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.8143, allocations: 25.7 kB / 0.879 GB, free: 340 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.8144, allocations: 151.9 kB / 0.8791 GB, free: 184 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.8144, allocations: 35.48 kB / 0.8791 GB, free: 148 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.8144, allocations: 4 kB / 0.8791 GB, free: 144 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8146, allocations: 334.8 kB / 0.8795 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.8147, allocations: 47.95 kB / 0.8795 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.8149, allocations: 97.05 kB / 0.8796 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.815, allocations: 55.95 kB / 0.8796 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8151, allocations: 0 / 0.8796 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003291/0.8154, allocations: 169.3 kB / 0.8798 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.8155, allocations: 115.5 kB / 0.8799 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8155, allocations: 4 kB / 0.8799 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.8155, allocations: 0 / 0.8799 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.8157, allocations: 23.98 kB / 0.8799 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.8157, allocations: 0 / 0.8799 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.8158, allocations: 31.88 kB / 0.88 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.8159, allocations: 8 kB / 0.88 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.8159, allocations: 7.953 kB / 0.88 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00025/0.8162, allocations: 115.8 kB / 0.8801 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-06/0.8162, allocations: 0 / 0.8801 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.8162, allocations: 4.031 kB / 0.8801 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.8163, allocations: 23.98 kB / 0.8801 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.8163, allocations: 3.984 kB / 0.8801 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.8165, allocations: 27.92 kB / 0.8802 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.8165, allocations: 4 kB / 0.8802 GB, free: 15.04 MB / 0.7012 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.0001496/0.8166, allocations: 221 kB / 0.8804 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.8167, allocations: 23.67 kB / 0.8804 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.8171, allocations: 171.6 kB / 0.8806 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8171, allocations: 4 kB / 0.8806 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.8171, allocations: 3.938 kB / 0.8806 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8172, allocations: 4.094 kB / 0.8806 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.8181, allocations: 0.6173 MB / 0.8812 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8181, allocations: 0 / 0.8812 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.8182, allocations: 23.98 kB / 0.8812 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.8182, allocations: 4 kB / 0.8812 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.8182, allocations: 4 kB / 0.8812 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.8182, allocations: 8.141 kB / 0.8812 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8182, allocations: 8 kB / 0.8812 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.8186, allocations: 305.1 kB / 0.8815 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.8187, allocations: 112.8 kB / 0.8816 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.8188, allocations: 4 kB / 0.8816 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.819, allocations: 19.97 kB / 0.8816 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.819, allocations: 19.89 kB / 0.8817 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.819, allocations: 4 kB / 0.8817 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001875/0.8192, allocations: 193.9 kB / 0.8818 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8192, allocations: 4 kB / 0.8819 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000469/0.8197, allocations: 87.84 kB / 0.8819 GB, free: 13.07 MB / 0.7012 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.00049/0.8202, allocations: 162.5 kB / 0.8821 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.8208, allocations: 171.8 kB / 0.8823 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.8208, allocations: 0 / 0.8823 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.8209, allocations: 68.45 kB / 0.8823 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.8217, allocations: 146.7 kB / 0.8825 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.8225, allocations: 0.4973 MB / 0.8829 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.8229, allocations: 0.756 MB / 0.8837 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.8231, allocations: 66.22 kB / 0.8837 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.8232, allocations: 23.44 kB / 0.8838 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/0.8232, allocations: 4 kB / 0.8838 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of Templates: time 0.008795/0.832, allocations: 4.118 MB / 0.8878 GB, free: 7.062 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: