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.001842/0.001842, allocations: 108 kB / 15.61 MB, free: 152 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.002579/0.002579, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.76/1.76, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.659/1.659, allocations: 251.7 MB / 0.5092 GB, free: 3.094 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.001562/0.001562, allocations: 71.91 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5649, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1919/0.7568, allocations: 161.6 MB / 0.8823 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.76, allocations: 1.765 MB / 0.8841 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003747/0.7604, allocations: 11.94 kB / 0.8841 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.761, allocations: 159 kB / 0.8842 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.7624, allocations: 0.5133 MB / 0.8847 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.7636, allocations: 412 kB / 0.8851 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.7643, allocations: 0.5693 MB / 0.8857 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003134/0.7646, allocations: 174.4 kB / 0.8859 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005611/0.7652, allocations: 322.7 kB / 0.8862 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.7654, allocations: 151.3 kB / 0.8863 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.7654, allocations: 12 kB / 0.8863 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.7666, allocations: 0.6898 MB / 0.887 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.7667, allocations: 79.72 kB / 0.8871 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.7669, allocations: 119.3 kB / 0.8872 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.7677, allocations: 0.4909 MB / 0.8877 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7677, allocations: 0 / 0.8877 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7677, allocations: 4 kB / 0.8877 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7677, allocations: 0 / 0.8877 GB, free: 5.234 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.000889/0.7686, allocations: 0.576 MB / 0.8882 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7687, allocations: 15.97 kB / 0.8882 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.769, allocations: 55.67 kB / 0.8883 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.7694, allocations: 297.3 kB / 0.8886 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.7694, allocations: 8 kB / 0.8886 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.7694, allocations: 19.94 kB / 0.8886 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.7698, allocations: 196.7 kB / 0.8888 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.7698, allocations: 0 / 0.8888 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.7699, allocations: 4 kB / 0.8888 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.7699, allocations: 4 kB / 0.8888 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.7702, allocations: 127.8 kB / 0.8889 GB, free: 3.844 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.0009929/0.7712, allocations: 0.7808 MB / 0.8897 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.7715, allocations: 90.41 kB / 0.8898 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.7716, allocations: 72.88 kB / 0.8898 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/0.772, allocations: 194.2 kB / 0.89 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.772, allocations: 34.56 kB / 0.8901 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.772, allocations: 0 / 0.8901 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006536/0.7727, allocations: 217.2 kB / 0.8903 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.7727, allocations: 55.41 kB / 0.8903 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.773, allocations: 267 kB / 0.8906 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.773, allocations: 37.64 kB / 0.8906 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.7731, allocations: 144 kB / 0.8907 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.7732, allocations: 35.48 kB / 0.8908 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.7732, allocations: 37.55 kB / 0.8908 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7734, allocations: 330.8 kB / 0.8911 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.7735, allocations: 52.81 kB / 0.8912 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.7737, allocations: 89.11 kB / 0.8913 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.774, allocations: 127.3 kB / 0.8914 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.774, allocations: 0 / 0.8914 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.7743, allocations: 149.4 kB / 0.8915 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7743, allocations: 4 kB / 0.8915 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7743, allocations: 4 kB / 0.8915 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.7743, allocations: 7.922 kB / 0.8915 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.7745, allocations: 23.92 kB / 0.8916 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.7745, allocations: 8.031 kB / 0.8916 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.7747, allocations: 19.89 kB / 0.8916 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.7748, allocations: 4 kB / 0.8916 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001882/0.775, allocations: 144.7 kB / 0.8917 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002128/0.7752, allocations: 97.03 kB / 0.8918 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002251/0.7754, allocations: 115.3 kB / 0.8919 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.31e-07/0.7754, allocations: 0 / 0.8919 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003229/0.7757, allocations: 165.4 kB / 0.8921 GB, free: 336 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-06/0.7758, allocations: 8 kB / 0.8921 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.7758, allocations: 4.031 kB / 0.8921 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.7758, allocations: 0 / 0.8921 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.7759, allocations: 24.05 kB / 0.8921 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.7759, allocations: 4 kB / 0.8921 GB, free: 296 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.7761, allocations: 19.92 kB / 0.8922 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7761, allocations: 8 kB / 0.8922 GB, free: 268 kB / 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.0001259/0.7762, allocations: 192.2 kB / 0.8923 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.7763, allocations: 27.72 kB / 0.8924 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.7766, allocations: 159.2 kB / 0.8925 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7767, allocations: 0 / 0.8925 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7767, allocations: 0 / 0.8925 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7767, allocations: 4 kB / 0.8925 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008292/0.7775, allocations: 0.5858 MB / 0.8931 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7775, allocations: 4 kB / 0.8931 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.7776, allocations: 19.98 kB / 0.8931 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7776, allocations: 4.219 kB / 0.8931 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.7777, allocations: 15.98 kB / 0.8931 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.7777, allocations: 3.938 kB / 0.8931 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7777, allocations: 4 kB / 0.8931 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.7781, allocations: 289.1 kB / 0.8934 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.392e-05/0.7782, allocations: 112.9 kB / 0.8935 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.7782, allocations: 4 kB / 0.8935 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.7784, allocations: 11.98 kB / 0.8935 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.7785, allocations: 19.86 kB / 0.8936 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.7785, allocations: 12.38 kB / 0.8936 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001674/0.7786, allocations: 194 kB / 0.8938 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7787, allocations: 0 / 0.8938 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004278/0.7791, allocations: 95.83 kB / 0.8939 GB, free: 14.38 MB / 0.7169 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.000343/0.7794, allocations: 171.4 kB / 0.894 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.7799, allocations: 167.7 kB / 0.8942 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7799, allocations: 0 / 0.8942 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.7801, allocations: 59.89 kB / 0.8942 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006918/0.7808, allocations: 119 kB / 0.8943 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.7814, allocations: 457.1 kB / 0.8948 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.7818, allocations: 0.7596 MB / 0.8955 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001985/0.782, allocations: 66.55 kB / 0.8956 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.782, allocations: 19.44 kB / 0.8956 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.782, allocations: 0 / 0.8956 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.008483/0.7905, allocations: 4.376 MB / 0.8999 GB, free: 8.211 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)