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.001076/0.001076, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001276/0.001276, allocations: 177.3 kB / 15.94 MB, free: 228 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.9/1.9, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.691/1.691, allocations: 251.9 MB / 0.51 GB, free: 4.801 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.0005464/0.0005467, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6095, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1995/0.809, allocations: 135.7 MB / 0.8605 GB, free: 3.34 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003344/0.8125, allocations: 1.668 MB / 0.8621 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004816/0.813, allocations: 7.938 kB / 0.8621 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000795/0.8138, allocations: 175.2 kB / 0.8623 GB, free: 1.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.8155, allocations: 0.4996 MB / 0.8628 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.8169, allocations: 471.5 kB / 0.8632 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.8177, allocations: 368.1 kB / 0.8636 GB, free: 180 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.8181, allocations: 134.5 kB / 0.8637 GB, free: 48 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.8187, allocations: 223.2 kB / 0.8639 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.8189, allocations: 103.5 kB / 0.864 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.819, allocations: 12 kB / 0.864 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.8199, allocations: 387.4 kB / 0.8644 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.82, allocations: 63.8 kB / 0.8645 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.8201, allocations: 69.58 kB / 0.8645 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.8207, allocations: 279.4 kB / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.8207, allocations: 0 / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8207, allocations: 0 / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8207, allocations: 0 / 0.8648 GB, free: 14.93 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.0009496/0.8216, allocations: 0.5363 MB / 0.8653 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.8217, allocations: 8.031 kB / 0.8653 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.8221, allocations: 47.69 kB / 0.8654 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.8226, allocations: 289.5 kB / 0.8657 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.8226, allocations: 8 kB / 0.8657 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.8226, allocations: 16 kB / 0.8657 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.823, allocations: 196.6 kB / 0.8659 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8231, allocations: 4 kB / 0.8659 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.8231, allocations: 4 kB / 0.8659 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.8231, allocations: 4 kB / 0.8659 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.8234, allocations: 135.9 kB / 0.866 GB, free: 13.59 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.001196/0.8246, allocations: 0.7886 MB / 0.8668 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.8249, allocations: 94.53 kB / 0.8669 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.025e-05/0.825, allocations: 12 kB / 0.8669 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.8251, allocations: 34.56 kB / 0.8669 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.8251, allocations: 0 / 0.8669 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0007677/0.8259, allocations: 229.4 kB / 0.8671 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.8259, allocations: 59.41 kB / 0.8672 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.8262, allocations: 263 kB / 0.8674 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.8262, allocations: 29.7 kB / 0.8675 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.8264, allocations: 147.9 kB / 0.8676 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.8264, allocations: 31.55 kB / 0.8676 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.8264, allocations: 8.375 kB / 0.8677 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8266, allocations: 330.8 kB / 0.868 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.8267, allocations: 47.95 kB / 0.868 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.8269, allocations: 105 kB / 0.8681 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.8271, allocations: 59.91 kB / 0.8682 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8271, allocations: 0 / 0.8682 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000352/0.8274, allocations: 165.3 kB / 0.8683 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.8276, allocations: 364 kB / 0.8687 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.8276, allocations: 0 / 0.8687 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8277, allocations: 0 / 0.8687 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.8278, allocations: 27.92 kB / 0.8687 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8278, allocations: 7.984 kB / 0.8687 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.828, allocations: 31.83 kB / 0.8687 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.8281, allocations: 4 kB / 0.8687 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.8281, allocations: 6.188 kB / 0.8687 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002743/0.8284, allocations: 111.9 kB / 0.8689 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.8284, allocations: 0 / 0.8689 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.8284, allocations: 12.02 kB / 0.8689 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.8285, allocations: 23.98 kB / 0.8689 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.8285, allocations: 8 kB / 0.8689 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.8287, allocations: 19.92 kB / 0.8689 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.8287, allocations: 8 kB / 0.8689 GB, free: 10.43 MB / 0.6856 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.0001576/0.8289, allocations: 221.1 kB / 0.8691 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.8289, allocations: 23.72 kB / 0.8692 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.8293, allocations: 167.3 kB / 0.8693 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8294, allocations: 0 / 0.8693 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.8294, allocations: 4 kB / 0.8693 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8294, allocations: 4 kB / 0.8693 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.8303, allocations: 0.6014 MB / 0.8699 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8303, allocations: 0 / 0.8699 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.8304, allocations: 27.98 kB / 0.8699 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.8305, allocations: 4 kB / 0.8699 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.8305, allocations: 8.5 kB / 0.87 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8305, allocations: 4 kB / 0.87 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.8305, allocations: 8.219 kB / 0.87 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.8309, allocations: 393.1 kB / 0.8703 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.8311, allocations: 124.6 kB / 0.8705 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.8311, allocations: 7.984 kB / 0.8705 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.8313, allocations: 19.98 kB / 0.8705 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.8314, allocations: 11.98 kB / 0.8705 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.8314, allocations: 4 kB / 0.8705 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002015/0.8316, allocations: 194 kB / 0.8707 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8316, allocations: 0 / 0.8707 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004553/0.832, allocations: 95.84 kB / 0.8708 GB, free: 8.336 MB / 0.6856 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.0003673/0.8324, allocations: 157.2 kB / 0.8709 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.8329, allocations: 179.8 kB / 0.8711 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8329, allocations: 0 / 0.8711 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.8331, allocations: 76.08 kB / 0.8712 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.8339, allocations: 131.3 kB / 0.8713 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.8346, allocations: 0.5051 MB / 0.8718 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.835, allocations: 0.7599 MB / 0.8725 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.8352, allocations: 66.23 kB / 0.8726 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.8353, allocations: 19.44 kB / 0.8726 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of SimCode: time 2.4e-07/0.8353, allocations: 0 / 0.8726 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of Templates: time 0.008831/0.8441, allocations: 4.12 MB / 0.8766 GB, free: 2.324 MB / 0.6856 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: