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.001197/0.001197, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002127/0.002127, allocations: 197.7 kB / 16.25 MB, free: 6.621 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.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.647/1.647, allocations: 251.6 MB / 0.5089 GB, free: 3.254 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.001644/0.001644, allocations: 63.91 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.6511, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1794/0.8306, allocations: 159.4 MB / 0.8797 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003772/0.8344, allocations: 1.748 MB / 0.8814 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.8348, allocations: 11.88 kB / 0.8814 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.8357, allocations: 139.2 kB / 0.8815 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.8373, allocations: 490.1 kB / 0.882 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.8388, allocations: 385.4 kB / 0.8824 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.8399, allocations: 0.5732 MB / 0.8829 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.8403, allocations: 166.4 kB / 0.8831 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000846/0.8412, allocations: 318.7 kB / 0.8834 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.8415, allocations: 167.3 kB / 0.8835 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.8416, allocations: 16 kB / 0.8836 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.8431, allocations: 0.7053 MB / 0.8842 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.8433, allocations: 87.72 kB / 0.8843 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.8435, allocations: 107.4 kB / 0.8844 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.8447, allocations: 0.5297 MB / 0.8849 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8447, allocations: 4 kB / 0.8849 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8447, allocations: 3.938 kB / 0.885 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8447, allocations: 0 / 0.885 GB, free: 7.648 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.001326/0.8461, allocations: 0.576 MB / 0.8855 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.8461, allocations: 12.03 kB / 0.8855 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/0.8467, allocations: 59.67 kB / 0.8856 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.8472, allocations: 289.2 kB / 0.8859 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.8473, allocations: 12 kB / 0.8859 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.8473, allocations: 12 kB / 0.8859 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.8478, allocations: 192.1 kB / 0.8861 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8479, allocations: 0 / 0.8861 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.8479, allocations: 8 kB / 0.8861 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.8479, allocations: 8 kB / 0.8861 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.8483, allocations: 123.8 kB / 0.8862 GB, free: 6.27 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.001379/0.8497, allocations: 0.7886 MB / 0.887 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.85, allocations: 78.53 kB / 0.887 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.8503, allocations: 80.86 kB / 0.8871 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.8506, allocations: 186.2 kB / 0.8873 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.8507, allocations: 34.5 kB / 0.8873 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.8507, allocations: 0 / 0.8873 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0008575/0.8515, allocations: 225.2 kB / 0.8875 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.8516, allocations: 55.34 kB / 0.8876 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.852, allocations: 271 kB / 0.8879 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.852, allocations: 25.7 kB / 0.8879 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.8521, allocations: 144 kB / 0.888 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.8522, allocations: 35.48 kB / 0.8881 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.8523, allocations: 33.62 kB / 0.8881 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.8525, allocations: 334.8 kB / 0.8884 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.8527, allocations: 48.83 kB / 0.8885 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.8529, allocations: 89.09 kB / 0.8885 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.8532, allocations: 123.3 kB / 0.8887 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8533, allocations: 0.5625 kB / 0.8887 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004317/0.8537, allocations: 157.3 kB / 0.8888 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8537, allocations: 8 kB / 0.8888 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8537, allocations: 0 / 0.8888 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.8538, allocations: 11.97 kB / 0.8888 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.8539, allocations: 19.98 kB / 0.8888 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.8539, allocations: 7.922 kB / 0.8888 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.8542, allocations: 23.88 kB / 0.8889 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.8542, allocations: 4 kB / 0.8889 GB, free: 3.305 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002337/0.8545, allocations: 144.1 kB / 0.889 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002074/0.8547, allocations: 101 kB / 0.8891 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003179/0.855, allocations: 119.4 kB / 0.8892 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.855, allocations: 0 / 0.8892 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000399/0.8554, allocations: 157.3 kB / 0.8894 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.8554, allocations: 4 kB / 0.8894 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8555, allocations: 4 kB / 0.8894 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.8555, allocations: 0 / 0.8894 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.8556, allocations: 27.92 kB / 0.8894 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.8556, allocations: 0 / 0.8894 GB, free: 2.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.8559, allocations: 28.08 kB / 0.8894 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.8559, allocations: 7.938 kB / 0.8894 GB, free: 2.684 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.0001333/0.8561, allocations: 184.8 kB / 0.8896 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.8561, allocations: 27.7 kB / 0.8896 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.8566, allocations: 163.2 kB / 0.8898 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8566, allocations: 0 / 0.8898 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8566, allocations: 3.938 kB / 0.8898 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8566, allocations: 8 kB / 0.8898 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.8578, allocations: 0.5899 MB / 0.8904 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8578, allocations: 0 / 0.8904 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.858, allocations: 23.92 kB / 0.8904 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.858, allocations: 4 kB / 0.8904 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.858, allocations: 4 kB / 0.8904 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.858, allocations: 3.984 kB / 0.8904 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.858, allocations: 4 kB / 0.8904 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.8585, allocations: 301.4 kB / 0.8907 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8587, allocations: 116.9 kB / 0.8908 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.8587, allocations: 3.984 kB / 0.8908 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.859, allocations: 19.98 kB / 0.8908 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.8591, allocations: 19.84 kB / 0.8909 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.8591, allocations: 4 kB / 0.8909 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002445/0.8594, allocations: 194 kB / 0.8911 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8594, allocations: 4 kB / 0.8911 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006893/0.8601, allocations: 99.83 kB / 0.8912 GB, free: 0.7812 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.0004616/0.8606, allocations: 154 kB / 0.8913 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.8612, allocations: 167.7 kB / 0.8915 GB, free: 476 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8612, allocations: 0 / 0.8915 GB, free: 476 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.8614, allocations: 68.02 kB / 0.8915 GB, free: 408 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.8623, allocations: 114.9 kB / 0.8916 GB, free: 300 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.8633, allocations: 0.4972 MB / 0.8921 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.8638, allocations: 0.7558 MB / 0.8929 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.8642, allocations: 73.86 kB / 0.8929 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.8643, allocations: 23.44 kB / 0.893 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8643, allocations: 0 / 0.893 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of Templates: time 0.01272/0.877, allocations: 4.323 MB / 0.8972 GB, free: 10.62 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)