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.001152/0.001152, allocations: 106.6 kB / 16.36 MB, free: 6.297 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.001085/0.001085, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001422/0.001422, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2401, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.5784/0.8185, allocations: 161.5 MB / 0.9425 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.8216, allocations: 1.699 MB / 0.9442 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004422/0.8221, allocations: 11.94 kB / 0.9442 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006574/0.8229, allocations: 162.9 kB / 0.9443 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.8244, allocations: 0.5056 MB / 0.9448 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.8257, allocations: 416.8 kB / 0.9452 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009333/0.8266, allocations: 0.5732 MB / 0.9458 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.827, allocations: 181 kB / 0.946 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/0.8277, allocations: 322.7 kB / 0.9463 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.828, allocations: 152.4 kB / 0.9464 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.8281, allocations: 12 kB / 0.9464 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.8294, allocations: 0.6937 MB / 0.9471 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.8295, allocations: 83.72 kB / 0.9472 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.8297, allocations: 111.4 kB / 0.9473 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.8307, allocations: 0.5023 MB / 0.9478 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8308, allocations: 7.938 kB / 0.9478 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8308, allocations: 0 / 0.9478 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.8308, allocations: 0 / 0.9478 GB, free: 3.125 MB / 0.7325 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.0009811/0.8318, allocations: 0.575 MB / 0.9483 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.8318, allocations: 12.03 kB / 0.9483 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.8322, allocations: 61.17 kB / 0.9484 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.8327, allocations: 305.3 kB / 0.9487 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8327, allocations: 12 kB / 0.9487 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.8327, allocations: 12 kB / 0.9487 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.8331, allocations: 201.1 kB / 0.9489 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8332, allocations: 2.312 kB / 0.9489 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.8332, allocations: 8 kB / 0.9489 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.8332, allocations: 4 kB / 0.9489 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.8335, allocations: 123.8 kB / 0.949 GB, free: 1.73 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.001049/0.8346, allocations: 0.7808 MB / 0.9498 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.8348, allocations: 90.41 kB / 0.9499 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.835, allocations: 72.88 kB / 0.95 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.8353, allocations: 194.2 kB / 0.9501 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.8353, allocations: 34.56 kB / 0.9502 GB, free: 448 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8353, allocations: 0 / 0.9502 GB, free: 448 kB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006712/0.836, allocations: 222.6 kB / 0.9504 GB, free: 220 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.8361, allocations: 55.41 kB / 0.9504 GB, free: 152 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.8364, allocations: 267.1 kB / 0.9507 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.8364, allocations: 25.7 kB / 0.9507 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.8365, allocations: 144 kB / 0.9509 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.8365, allocations: 35.45 kB / 0.9509 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.8366, allocations: 34.73 kB / 0.9509 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8367, allocations: 334.8 kB / 0.9512 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.8369, allocations: 52.81 kB / 0.9513 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.837, allocations: 85.11 kB / 0.9514 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.8373, allocations: 131.3 kB / 0.9515 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8373, allocations: 1.875 kB / 0.9515 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003516/0.8377, allocations: 153.3 kB / 0.9517 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8377, allocations: 8.781 kB / 0.9517 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8377, allocations: 0 / 0.9517 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8378, allocations: 11.95 kB / 0.9517 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8379, allocations: 23.92 kB / 0.9517 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.8379, allocations: 4 kB / 0.9517 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.8381, allocations: 15.89 kB / 0.9517 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.8381, allocations: 6.438 kB / 0.9517 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001932/0.8383, allocations: 148.1 kB / 0.9519 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001624/0.8385, allocations: 97.09 kB / 0.952 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002349/0.8388, allocations: 115.5 kB / 0.9521 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.8388, allocations: 0 / 0.9521 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003281/0.8391, allocations: 157.3 kB / 0.9522 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.8391, allocations: 9.969 kB / 0.9522 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.8391, allocations: 0 / 0.9522 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.8391, allocations: 0 / 0.9522 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.8393, allocations: 31.92 kB / 0.9523 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.8393, allocations: 0 / 0.9523 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.8394, allocations: 19.83 kB / 0.9523 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.8395, allocations: 7.938 kB / 0.9523 GB, free: 14.16 MB / 0.7481 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.0001087/0.8396, allocations: 197.2 kB / 0.9525 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.8396, allocations: 23.72 kB / 0.9525 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.84, allocations: 159.3 kB / 0.9526 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.84, allocations: 4 kB / 0.9526 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8401, allocations: 3.938 kB / 0.9527 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8401, allocations: 0 / 0.9527 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.841, allocations: 0.586 MB / 0.9532 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.841, allocations: 0 / 0.9532 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.8411, allocations: 29.23 kB / 0.9533 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.8411, allocations: 0 / 0.9533 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8411, allocations: 9.172 kB / 0.9533 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.8412, allocations: 7.938 kB / 0.9533 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8412, allocations: 0 / 0.9533 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.8416, allocations: 302.6 kB / 0.9536 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.8417, allocations: 116.7 kB / 0.9537 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.8417, allocations: 4 kB / 0.9537 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.8419, allocations: 15.98 kB / 0.9537 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.842, allocations: 19.86 kB / 0.9537 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.842, allocations: 4 kB / 0.9537 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000183/0.8422, allocations: 194 kB / 0.9539 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8422, allocations: 0 / 0.9539 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004737/0.8427, allocations: 91.83 kB / 0.954 GB, free: 12.27 MB / 0.7481 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.000397/0.8431, allocations: 164.8 kB / 0.9541 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.8436, allocations: 171.7 kB / 0.9543 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8436, allocations: 0 / 0.9543 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.8438, allocations: 63.89 kB / 0.9544 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.8445, allocations: 116 kB / 0.9545 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.8453, allocations: 469.5 kB / 0.9549 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.8457, allocations: 0.7519 MB / 0.9557 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.8457, allocations: 23.42 kB / 0.9557 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.976e-06/0.8457, allocations: 0 / 0.9557 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.006917/0.8527, allocations: 3.706 MB / 0.9593 GB, free: 6.867 MB / 0.7481 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)