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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001924/0.001924, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222 MB, free: 4.996 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.749/1.749, allocations: 251.6 MB / 0.5088 GB, free: 3.371 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.001649/0.001649, allocations: 63.91 kB / 0.6216 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6211, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1893/0.8105, allocations: 159.4 MB / 0.8794 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.8143, allocations: 1.773 MB / 0.8812 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.8147, allocations: 11.94 kB / 0.8812 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.8155, allocations: 131.2 kB / 0.8813 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.8169, allocations: 490 kB / 0.8818 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.818, allocations: 377.3 kB / 0.8821 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008691/0.8189, allocations: 0.7643 MB / 0.8829 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.8192, allocations: 150.5 kB / 0.883 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.8198, allocations: 290.8 kB / 0.8833 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.82, allocations: 163.3 kB / 0.8835 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.8201, allocations: 11.94 kB / 0.8835 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.8213, allocations: 0.7716 MB / 0.8842 GB, free: 8.277 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.8214, allocations: 79.78 kB / 0.8843 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.8216, allocations: 111.3 kB / 0.8844 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.8223, allocations: 0.5103 MB / 0.8849 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8223, allocations: 0 / 0.8849 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of FrontEnd: time 8.31e-07/0.8223, allocations: 0 / 0.8849 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8224, allocations: 0 / 0.8849 GB, free: 7.578 MB / 0.7012 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.0009102/0.8233, allocations: 0.5877 MB / 0.8855 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8233, allocations: 8.031 kB / 0.8855 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.8237, allocations: 55.67 kB / 0.8855 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.8241, allocations: 289.2 kB / 0.8858 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8241, allocations: 16 kB / 0.8858 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.8241, allocations: 12 kB / 0.8858 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.8245, allocations: 192.1 kB / 0.886 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.8246, allocations: 0 / 0.886 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.8246, allocations: 4 kB / 0.886 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.8246, allocations: 8 kB / 0.886 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.8249, allocations: 135.8 kB / 0.8862 GB, free: 6.184 MB / 0.7012 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.00124/0.8262, allocations: 0.7808 MB / 0.8869 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.8265, allocations: 82.53 kB / 0.887 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.8266, allocations: 76.86 kB / 0.8871 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.8271, allocations: 186.2 kB / 0.8873 GB, free: 4.945 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.8271, allocations: 34.56 kB / 0.8873 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.8271, allocations: 0 / 0.8873 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0007929/0.8279, allocations: 225.4 kB / 0.8875 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.828, allocations: 59.34 kB / 0.8876 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.8283, allocations: 263 kB / 0.8878 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.8283, allocations: 33.8 kB / 0.8879 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.8285, allocations: 147.9 kB / 0.888 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.8286, allocations: 39.39 kB / 0.888 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.8287, allocations: 25.72 kB / 0.8881 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.8289, allocations: 338.8 kB / 0.8884 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.829, allocations: 48.83 kB / 0.8884 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.8292, allocations: 93.09 kB / 0.8885 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.8295, allocations: 119.3 kB / 0.8886 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8295, allocations: 0 / 0.8886 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003518/0.8299, allocations: 157.4 kB / 0.8888 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8299, allocations: 7.938 kB / 0.8888 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8299, allocations: 4 kB / 0.8888 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.8299, allocations: 3.938 kB / 0.8888 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.8301, allocations: 24.02 kB / 0.8888 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.8301, allocations: 4 kB / 0.8888 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.8303, allocations: 23.88 kB / 0.8888 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.8303, allocations: 4 kB / 0.8888 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001935/0.8305, allocations: 148.1 kB / 0.889 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000161/0.8307, allocations: 93.05 kB / 0.8891 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002303/0.8309, allocations: 115.4 kB / 0.8892 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.8309, allocations: 0 / 0.8892 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003256/0.8312, allocations: 165.2 kB / 0.8893 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.8313, allocations: 4 kB / 0.8893 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-06/0.8313, allocations: 0 / 0.8893 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.8313, allocations: 4 kB / 0.8893 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.8314, allocations: 23.92 kB / 0.8894 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.8314, allocations: 0 / 0.8894 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.8316, allocations: 19.92 kB / 0.8894 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.8316, allocations: 8 kB / 0.8894 GB, free: 2.613 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.8318, allocations: 196.7 kB / 0.8896 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.8318, allocations: 19.72 kB / 0.8896 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/0.8323, allocations: 167.5 kB / 0.8898 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.8323, allocations: 0 / 0.8898 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8323, allocations: 0 / 0.8898 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.8323, allocations: 0 / 0.8898 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.8335, allocations: 0.5901 MB / 0.8903 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.8335, allocations: 8.219 kB / 0.8903 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.8336, allocations: 27.97 kB / 0.8904 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.8337, allocations: 7.984 kB / 0.8904 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8337, allocations: 7.938 kB / 0.8904 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.8337, allocations: 11.97 kB / 0.8904 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8337, allocations: 4 kB / 0.8904 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.8341, allocations: 289.1 kB / 0.8907 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.8343, allocations: 116.7 kB / 0.8908 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.8343, allocations: 8 kB / 0.8908 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.8345, allocations: 15.98 kB / 0.8908 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.8346, allocations: 19.86 kB / 0.8908 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.8347, allocations: 8 kB / 0.8908 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002174/0.8349, allocations: 190 kB / 0.891 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8349, allocations: 0 / 0.891 GB, free: 0.8008 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000531/0.8354, allocations: 99.83 kB / 0.8911 GB, free: 0.7031 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005207/0.8359, allocations: 155.1 kB / 0.8913 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.8365, allocations: 163.7 kB / 0.8914 GB, free: 400 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8365, allocations: 192 / 0.8914 GB, free: 400 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.8366, allocations: 60.45 kB / 0.8915 GB, free: 340 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.8375, allocations: 143.2 kB / 0.8916 GB, free: 200 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.8384, allocations: 498.9 kB / 0.8921 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.8389, allocations: 0.7638 MB / 0.8928 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.8391, allocations: 66.23 kB / 0.8929 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.8391, allocations: 19.44 kB / 0.8929 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8391, allocations: 3.938 kB / 0.8929 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of Templates: time 0.009791/0.8489, allocations: 4.28 MB / 0.8971 GB, free: 10.57 MB / 0.7169 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)