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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 178.5 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008585/0.0008582, allocations: 82.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 9.125 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2224, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1623/0.3847, allocations: 157.3 MB / 1.055 GB, free: 1.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4517/0.8364, allocations: 1.732 MB / 1.057 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.837, allocations: 12.22 kB / 1.057 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.8376, allocations: 130.2 kB / 1.057 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.839, allocations: 489 kB / 1.057 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.8401, allocations: 376.7 kB / 1.058 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.841, allocations: 0.7635 MB / 1.058 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.8412, allocations: 150.8 kB / 1.059 GB, free: 1.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.8418, allocations: 296.3 kB / 1.059 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.842, allocations: 157.9 kB / 1.059 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.842, allocations: 8.312 kB / 1.059 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.8433, allocations: 0.7744 MB / 1.06 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.8434, allocations: 74.59 kB / 1.06 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.8435, allocations: 135.4 kB / 1.06 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.8441, allocations: 345.6 kB / 1.06 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8441, allocations: 0 / 1.06 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8441, allocations: 2.844 kB / 1.06 GB, free: 1.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8441, allocations: 0 / 1.06 GB, free: 1.879 MB / 0.698 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.0008841/0.845, allocations: 0.5444 MB / 1.061 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.845, allocations: 12.08 kB / 1.061 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.8454, allocations: 52.72 kB / 1.061 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.8457, allocations: 288.8 kB / 1.061 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.8458, allocations: 11.62 kB / 1.061 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.8458, allocations: 13.62 kB / 1.061 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.8462, allocations: 202.6 kB / 1.061 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8462, allocations: 0 / 1.061 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.8462, allocations: 3.812 kB / 1.061 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8462, allocations: 8.75 kB / 1.061 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.8465, allocations: 142.8 kB / 1.062 GB, free: 17.11 MB / 0.7136 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.001048/0.8476, allocations: 0.7807 MB / 1.062 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.8479, allocations: 89.59 kB / 1.062 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.848, allocations: 82.44 kB / 1.063 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/0.8483, allocations: 192.2 kB / 1.063 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.8484, allocations: 31.92 kB / 1.063 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.335e-06/0.8484, allocations: 0.6094 kB / 1.063 GB, free: 16.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006449/0.849, allocations: 239.4 kB / 1.063 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.8491, allocations: 56.06 kB / 1.063 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.8493, allocations: 266.5 kB / 1.063 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.8494, allocations: 29.39 kB / 1.063 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.8495, allocations: 149.5 kB / 1.063 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.8495, allocations: 29.38 kB / 1.063 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.8495, allocations: 3.438 kB / 1.063 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8496, allocations: 333.6 kB / 1.064 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.8498, allocations: 50.5 kB / 1.064 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.8499, allocations: 97.31 kB / 1.064 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.8502, allocations: 130.2 kB / 1.064 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8502, allocations: 2.938 kB / 1.064 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003387/0.8506, allocations: 177.9 kB / 1.064 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.8506, allocations: 113.5 kB / 1.064 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8506, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8507, allocations: 7.609 kB / 1.064 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.8508, allocations: 28.41 kB / 1.064 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.8508, allocations: 2.938 kB / 1.064 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.851, allocations: 25.42 kB / 1.064 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.851, allocations: 10.08 kB / 1.064 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.8511, allocations: 2.875 kB / 1.064 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002808/0.8513, allocations: 118.5 kB / 1.065 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8514, allocations: 3.625 kB / 1.065 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/0.8514, allocations: 3.938 kB / 1.065 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.8515, allocations: 27.58 kB / 1.065 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.8515, allocations: 7.172 kB / 1.065 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.8517, allocations: 27.42 kB / 1.065 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.8517, allocations: 6.375 kB / 1.065 GB, free: 15.37 MB / 0.7136 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.0001467/0.8518, allocations: 218.5 kB / 1.065 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.8519, allocations: 28.66 kB / 1.065 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.8523, allocations: 167.2 kB / 1.065 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.8523, allocations: 3.5 kB / 1.065 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8523, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8523, allocations: 0.6562 kB / 1.065 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.8532, allocations: 0.6022 MB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8532, allocations: 3.578 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.8533, allocations: 24.8 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8533, allocations: 0.5156 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.8533, allocations: 5.75 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8534, allocations: 6.812 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8534, allocations: 3.125 kB / 1.066 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.8537, allocations: 315.1 kB / 1.066 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.8538, allocations: 114.6 kB / 1.066 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.8539, allocations: 4.094 kB / 1.066 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.8541, allocations: 17.25 kB / 1.066 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.8541, allocations: 20.61 kB / 1.066 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.8542, allocations: 3.812 kB / 1.066 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000179/0.8543, allocations: 194.6 kB / 1.066 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8544, allocations: 6.672 kB / 1.066 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000439/0.8548, allocations: 98.06 kB / 1.066 GB, free: 14.34 MB / 0.7136 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.0004452/0.8552, allocations: 167.3 kB / 1.067 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.8557, allocations: 178.8 kB / 1.067 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8557, allocations: 3.031 kB / 1.067 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.8559, allocations: 69.02 kB / 1.067 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.8568, allocations: 128.8 kB / 1.067 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007054/0.8575, allocations: 0.5441 MB / 1.067 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.8578, allocations: 0.7563 MB / 1.068 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.8579, allocations: 20.19 kB / 1.068 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8579, allocations: 0 / 1.068 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.008328/0.8662, allocations: 3.719 MB / 1.072 GB, free: 12.86 MB / 0.7136 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)