Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001173/0.001173, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 195.8 kB / 16.64 MB, free: 6.477 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.582/1.582, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001533/0.001533, allocations: 72.05 kB / 0.6723 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3207, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.9696/1.29, allocations: 161.5 MB / 0.9419 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004261/1.295, allocations: 1.692 MB / 0.9435 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005849/1.295, allocations: 18.59 kB / 0.9435 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008013/1.296, allocations: 153.8 kB / 0.9437 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/1.298, allocations: 0.5132 MB / 0.9442 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/1.299, allocations: 418.3 kB / 0.9446 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001067/1.301, allocations: 0.5725 MB / 0.9451 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/1.301, allocations: 176.1 kB / 0.9453 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007773/1.302, allocations: 320.7 kB / 0.9456 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/1.302, allocations: 154.4 kB / 0.9457 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/1.302, allocations: 13.75 kB / 0.9458 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/1.304, allocations: 0.6873 MB / 0.9464 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/1.304, allocations: 76.19 kB / 0.9465 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/1.304, allocations: 121.9 kB / 0.9466 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009815/1.305, allocations: 0.4978 MB / 0.9471 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.305, allocations: 0.9062 kB / 0.9471 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/1.305, allocations: 0 / 0.9471 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.305, allocations: 1.688 kB / 0.9471 GB, free: 1.762 MB / 0.7169 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.001132/1.306, allocations: 0.5856 MB / 0.9477 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.306, allocations: 8.781 kB / 0.9477 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/1.307, allocations: 53.11 kB / 0.9477 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/1.307, allocations: 310.9 kB / 0.948 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/1.307, allocations: 10.47 kB / 0.948 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/1.307, allocations: 14.17 kB / 0.9481 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/1.308, allocations: 195.8 kB / 0.9482 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.308, allocations: 0.5938 kB / 0.9482 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.308, allocations: 5.156 kB / 0.9483 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.308, allocations: 3.281 kB / 0.9483 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/1.308, allocations: 129.8 kB / 0.9484 GB, free: 16.98 MB / 0.7325 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.001248/1.309, allocations: 0.7904 MB / 0.9492 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/1.31, allocations: 77.98 kB / 0.9492 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/1.31, allocations: 79.83 kB / 0.9493 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/1.31, allocations: 185.9 kB / 0.9495 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/1.31, allocations: 35.56 kB / 0.9495 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/1.31, allocations: 5.531 kB / 0.9495 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0008264/1.311, allocations: 223.8 kB / 0.9497 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.311, allocations: 57.22 kB / 0.9498 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/1.312, allocations: 266 kB / 0.95 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/1.312, allocations: 27.45 kB / 0.9501 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.312, allocations: 146.5 kB / 0.9502 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/1.312, allocations: 34.14 kB / 0.9502 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/1.312, allocations: 32.98 kB / 0.9503 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.312, allocations: 333.8 kB / 0.9506 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.312, allocations: 46.72 kB / 0.9506 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/1.312, allocations: 91.28 kB / 0.9507 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/1.313, allocations: 123.6 kB / 0.9508 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.313, allocations: 0.5 kB / 0.9508 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003673/1.313, allocations: 162.1 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.313, allocations: 5.656 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.313, allocations: 5.188 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.313, allocations: 5 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.313, allocations: 21.17 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.313, allocations: 2.219 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/1.313, allocations: 16.72 kB / 0.951 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/1.314, allocations: 5.078 kB / 0.9511 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002219/1.314, allocations: 148 kB / 0.9512 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001729/1.314, allocations: 97.97 kB / 0.9513 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002693/1.314, allocations: 115.9 kB / 0.9514 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.314, allocations: 3.938 kB / 0.9514 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003458/1.315, allocations: 155.2 kB / 0.9515 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.315, allocations: 5.688 kB / 0.9516 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.315, allocations: 2.188 kB / 0.9516 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-06/1.315, allocations: 2.281 kB / 0.9516 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/1.315, allocations: 25.98 kB / 0.9516 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.315, allocations: 6.406 kB / 0.9516 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/1.315, allocations: 19.83 kB / 0.9516 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.315, allocations: 5.062 kB / 0.9516 GB, free: 15.08 MB / 0.7325 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.0002111/1.315, allocations: 195.6 kB / 0.9518 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/1.315, allocations: 23.03 kB / 0.9518 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/1.316, allocations: 162.6 kB / 0.952 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.316, allocations: 5.812 kB / 0.952 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.316, allocations: 0 / 0.952 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.316, allocations: 0.8438 kB / 0.952 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009339/1.317, allocations: 0.5903 MB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.317, allocations: 6.844 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/1.317, allocations: 26.45 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.317, allocations: 2.656 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.317, allocations: 5.078 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.317, allocations: 2.375 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.317, allocations: 3.281 kB / 0.9526 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/1.317, allocations: 300.5 kB / 0.9529 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/1.317, allocations: 119 kB / 0.953 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/1.317, allocations: 13.05 kB / 0.953 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/1.318, allocations: 9.844 kB / 0.953 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/1.318, allocations: 20.33 kB / 0.953 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/1.318, allocations: 5.281 kB / 0.953 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002039/1.318, allocations: 196 kB / 0.9532 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.318, allocations: 0 / 0.9532 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005384/1.318, allocations: 97.19 kB / 0.9533 GB, free: 14.02 MB / 0.7325 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.0004604/1.319, allocations: 163.1 kB / 0.9535 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004926/1.319, allocations: 169.8 kB / 0.9536 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.319, allocations: 0 / 0.9536 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/1.319, allocations: 60.22 kB / 0.9537 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/1.32, allocations: 126.9 kB / 0.9538 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007927/1.321, allocations: 440.2 kB / 0.9542 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/1.321, allocations: 0.7574 MB / 0.955 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002194/1.322, allocations: 69.84 kB / 0.9551 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/1.322, allocations: 20.59 kB / 0.9551 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/1.322, allocations: 0 / 0.9551 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.01054/1.332, allocations: 4.381 MB / 0.9593 GB, free: 12.59 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)