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 1.78/1.78, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.002199/0.002199, allocations: 181.3 kB / 371.2 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 1.574/1.574, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0009919/0.000992, allocations: 96.73 kB / 0.7432 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005224, allocations: 11.89 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7144/1.019, allocations: 146.7 MB / 1.122 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004045/1.023, allocations: 1.601 MB / 1.123 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/1.023, allocations: 9.344 kB / 1.123 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/1.024, allocations: 108.6 kB / 1.124 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/1.026, allocations: 376.3 kB / 1.124 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/1.028, allocations: 363.7 kB / 1.124 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001457/1.029, allocations: 0.6535 MB / 1.125 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/1.03, allocations: 145 kB / 1.125 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/1.031, allocations: 261.2 kB / 1.125 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/1.031, allocations: 157.9 kB / 1.125 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/1.031, allocations: 8.219 kB / 1.125 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/1.033, allocations: 0.5255 MB / 1.126 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/1.033, allocations: 69.78 kB / 1.126 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/1.033, allocations: 72.64 kB / 1.126 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007255/1.034, allocations: 334.2 kB / 1.126 GB, free: 16.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.034, allocations: 2.844 kB / 1.126 GB, free: 16.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.034, allocations: 0 / 1.126 GB, free: 16.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.034, allocations: 0 / 1.126 GB, free: 16.61 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.001028/1.035, allocations: 0.5423 MB / 1.127 GB, free: 16.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.035, allocations: 10.81 kB / 1.127 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/1.036, allocations: 54.08 kB / 1.127 GB, free: 16.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/1.036, allocations: 287.6 kB / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.036, allocations: 11.72 kB / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/1.036, allocations: 13.69 kB / 1.127 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/1.037, allocations: 198.1 kB / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.037, allocations: 0 / 1.127 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/1.037, allocations: 6.219 kB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.037, allocations: 3.25 kB / 1.128 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/1.037, allocations: 138.2 kB / 1.128 GB, free: 15.83 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.001414/1.039, allocations: 0.7901 MB / 1.128 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/1.039, allocations: 92.22 kB / 1.129 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.039, allocations: 81.42 kB / 1.129 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/1.04, allocations: 189.1 kB / 1.129 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.04, allocations: 34.56 kB / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/1.04, allocations: 0 / 1.129 GB, free: 15.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0009659/1.041, allocations: 240.8 kB / 1.129 GB, free: 14.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.041, allocations: 51.41 kB / 1.129 GB, free: 14.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/1.041, allocations: 271 kB / 1.129 GB, free: 14.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/1.041, allocations: 25.7 kB / 1.129 GB, free: 14.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.042, allocations: 150.3 kB / 1.129 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/1.042, allocations: 30.83 kB / 1.13 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.042, allocations: 1.781 kB / 1.13 GB, free: 14.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.042, allocations: 338.1 kB / 1.13 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.042, allocations: 41.97 kB / 1.13 GB, free: 14.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/1.042, allocations: 96.81 kB / 1.13 GB, free: 14.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/1.043, allocations: 134.8 kB / 1.13 GB, free: 14.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.043, allocations: 0 / 1.13 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004833/1.043, allocations: 170.5 kB / 1.13 GB, free: 14.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.833e-05/1.043, allocations: 120.6 kB / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.043, allocations: 0 / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/1.043, allocations: 0 / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.044, allocations: 27.3 kB / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.044, allocations: 7.344 kB / 1.13 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.044, allocations: 24.77 kB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/1.044, allocations: 9.266 kB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/1.044, allocations: 8.453 kB / 1.13 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003908/1.044, allocations: 112 kB / 1.131 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.044, allocations: 3.5 kB / 1.131 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-06/1.044, allocations: 0 / 1.131 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/1.045, allocations: 30.19 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/1.045, allocations: 2.5 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.045, allocations: 28.84 kB / 1.131 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/1.045, allocations: 3.375 kB / 1.131 GB, free: 14.05 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.0002052/1.045, allocations: 221.7 kB / 1.131 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/1.045, allocations: 28.38 kB / 1.131 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/1.046, allocations: 172.5 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.046, allocations: 2.938 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.046, allocations: 3.938 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.046, allocations: 6.234 kB / 1.131 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.047, allocations: 0.6008 MB / 1.132 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.047, allocations: 3.812 kB / 1.132 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.047, allocations: 28.36 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.047, allocations: 2.562 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.047, allocations: 4.656 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.047, allocations: 4.875 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.047, allocations: 1.875 kB / 1.132 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/1.048, allocations: 310.5 kB / 1.132 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.048, allocations: 114.9 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/1.048, allocations: 3.969 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/1.049, allocations: 22.02 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/1.049, allocations: 8.172 kB / 1.132 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/1.049, allocations: 8.844 kB / 1.132 GB, free: 13.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003012/1.049, allocations: 198.3 kB / 1.132 GB, free: 12.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.049, allocations: 0 / 1.132 GB, free: 12.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008589/1.05, allocations: 89.16 kB / 1.132 GB, free: 12.98 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.0005083/1.05, allocations: 165.7 kB / 1.133 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006605/1.051, allocations: 175.2 kB / 1.133 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.051, allocations: 4.125 kB / 1.133 GB, free: 12.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/1.051, allocations: 68.78 kB / 1.133 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.053, allocations: 128.8 kB / 1.133 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/1.054, allocations: 0.4988 MB / 1.133 GB, free: 12.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/1.054, allocations: 0.761 MB / 1.134 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004016/1.055, allocations: 68.05 kB / 1.134 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/1.055, allocations: 20.56 kB / 1.134 GB, free: 11.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.055, allocations: 0 / 1.134 GB, free: 11.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01081/1.065, allocations: 4.153 MB / 1.138 GB, free: 11.21 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)