Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 113.8 kB / 16.37 MB, free: 5.535 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.001766/0.001766, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001391/0.001391, allocations: 71.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2151, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.6554/0.8705, allocations: 241.9 MB / 1.021 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02018/0.8907, allocations: 13.47 MB / 1.034 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.8935, allocations: 59.62 kB / 1.034 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003176/0.8967, allocations: 0.9821 MB / 1.035 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.9028, allocations: 1.78 MB / 1.037 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003998/0.9069, allocations: 1.23 MB / 1.038 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006983/0.9138, allocations: 3.264 MB / 1.041 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.9164, allocations: 1.051 MB / 1.042 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.9307, allocations: 4.125 MB / 1.046 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.9334, allocations: 0.8982 MB / 1.047 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005342/0.934, allocations: 80 kB / 1.047 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.9367, allocations: 0.6975 MB / 1.048 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009737/0.9377, allocations: 442.6 kB / 1.048 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.9398, allocations: 0.68 MB / 1.049 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.9438, allocations: 1.538 MB / 1.051 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9438, allocations: 4 kB / 1.051 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9438, allocations: 4 kB / 1.051 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.548e-05/0.9439, allocations: 0 / 1.051 GB, free: 9.523 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002831/0.9468, allocations: 1.626 MB / 1.052 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.9468, allocations: 8.031 kB / 1.052 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.9478, allocations: 202.1 kB / 1.052 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.9501, allocations: 0.9011 MB / 1.053 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.9503, allocations: 129.3 kB / 1.053 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.9504, allocations: 80 kB / 1.053 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9524, allocations: 0.9143 MB / 1.054 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.9524, allocations: 11.94 kB / 1.054 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.9525, allocations: 35.94 kB / 1.054 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.9526, allocations: 23.98 kB / 1.054 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.9538, allocations: 0.5071 MB / 1.055 GB, free: 4.883 MB / 0.8419 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.006546/0.9604, allocations: 4.86 MB / 1.06 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.9612, allocations: 412.7 kB / 1.06 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.9617, allocations: 264.5 kB / 1.06 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.962, allocations: 105.1 kB / 1.06 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.9621, allocations: 54.42 kB / 1.06 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 3.577e-06/0.9621, allocations: 4 kB / 1.06 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31): time 0.002583/0.9647, allocations: 0.7776 MB / 1.061 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.9649, allocations: 397.5 kB / 1.062 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.9672, allocations: 1.275 MB / 1.063 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.9673, allocations: 33.7 kB / 1.063 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.9678, allocations: 0.5536 MB / 1.063 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.9679, allocations: 106.4 kB / 1.064 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.9681, allocations: 85.59 kB / 1.064 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9682, allocations: 325.9 kB / 1.064 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.9684, allocations: 83.94 kB / 1.064 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.9688, allocations: 339.4 kB / 1.064 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.9693, allocations: 324.6 kB / 1.065 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9693, allocations: 4 kB / 1.065 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009457/0.9703, allocations: 497.5 kB / 1.065 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.9703, allocations: 12 kB / 1.065 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.9704, allocations: 4 kB / 1.065 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.9707, allocations: 69.67 kB / 1.065 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.9709, allocations: 56.41 kB / 1.065 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.9735, allocations: 3.266 MB / 1.068 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.9745, allocations: 99.14 kB / 1.069 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.9746, allocations: 20 kB / 1.069 GB, free: 5.809 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005041/0.9751, allocations: 274.7 kB / 1.069 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/0.9756, allocations: 130.4 kB / 1.069 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.9758, allocations: 135.9 kB / 1.069 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.9758, allocations: 11.94 kB / 1.069 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.9758, allocations: 9.062 kB / 1.069 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9758, allocations: 4 kB / 1.069 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.9792, allocations: 2.52 MB / 1.072 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.9792, allocations: 4 kB / 1.072 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.9794, allocations: 47.91 kB / 1.072 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.9796, allocations: 77.73 kB / 1.072 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.9796, allocations: 12 kB / 1.072 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.9822, allocations: 3.267 MB / 1.075 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.9822, allocations: 7.938 kB / 1.075 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009913/0.9832, allocations: 0.6811 MB / 1.076 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.9836, allocations: 251.3 kB / 1.076 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.9838, allocations: 15.98 kB / 1.076 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.9845, allocations: 35.95 kB / 1.076 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/0.9846, allocations: 43.84 kB / 1.076 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9846, allocations: 19.98 kB / 1.076 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001231/0.9858, allocations: 0.8802 MB / 1.077 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9858, allocations: 0 / 1.077 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001086/0.9869, allocations: 255.8 kB / 1.077 GB, free: 12.6 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005615/0.9875, allocations: 206.1 kB / 1.077 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.9887, allocations: 0.5264 MB / 1.078 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.9887, allocations: 0 / 1.078 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.9893, allocations: 410.1 kB / 1.078 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.9928, allocations: 0.7455 MB / 1.079 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.9957, allocations: 1.866 MB / 1.081 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.9964, allocations: 1.123 MB / 1.082 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.9966, allocations: 91.42 kB / 1.082 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of SimCode: time 1.102e-06/0.9966, allocations: 0 / 1.082 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of Templates: time 0.04044/1.037, allocations: 27.55 MB / 1.109 GB, free: 12.27 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)