Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008177/0.0008177, allocations: 172.2 kB / 325.8 MB, free: 2.699 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.229/1.229, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006306/0.0006306, allocations: 104.5 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002706/0.0002707, allocations: 12.41 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.009045/0.1463, allocations: 14.7 MB / 0.9106 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.1495, allocations: 3.831 MB / 0.9143 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.1497, allocations: 27.88 kB / 0.9143 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.15, allocations: 151.1 kB / 0.9145 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008814/0.1509, allocations: 0.6067 MB / 0.9151 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.1516, allocations: 428.1 kB / 0.9155 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009231/0.1526, allocations: 1.373 MB / 0.9168 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.1528, allocations: 237.1 kB / 0.917 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.1532, allocations: 370.4 kB / 0.9174 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1534, allocations: 270.6 kB / 0.9176 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1534, allocations: 12 kB / 0.9177 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000721/0.1542, allocations: 0.6861 MB / 0.9183 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.1542, allocations: 71.62 kB / 0.9184 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1543, allocations: 171 kB / 0.9186 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005943/0.1549, allocations: 0.701 MB / 0.9192 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.155, allocations: 4 kB / 0.9192 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.155, allocations: 0 / 0.9192 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.155, allocations: 0 / 0.9192 GB, free: 44.41 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006967/0.1557, allocations: 0.6814 MB / 0.9199 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1557, allocations: 12.02 kB / 0.9199 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.1558, allocations: 54.73 kB / 0.92 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.1558, allocations: 44.47 kB / 0.92 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.1564, allocations: 0.4896 MB / 0.9205 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1565, allocations: 20.33 kB / 0.9205 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.1565, allocations: 16 kB / 0.9205 GB, free: 43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.1568, allocations: 180.9 kB / 0.9207 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1568, allocations: 0 / 0.9207 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1568, allocations: 12 kB / 0.9207 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1568, allocations: 4 kB / 0.9207 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.1571, allocations: 148.1 kB / 0.9209 GB, free: 42.66 MB / 0.6042 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.0007306/0.1578, allocations: 0.8645 MB / 0.9217 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.158, allocations: 126.6 kB / 0.9218 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1582, allocations: 80.75 kB / 0.9219 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.1584, allocations: 332.4 kB / 0.9222 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1584, allocations: 42.5 kB / 0.9223 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1584, allocations: 0 / 0.9223 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004353/0.1588, allocations: 237.1 kB / 0.9225 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.1589, allocations: 55.41 kB / 0.9225 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1591, allocations: 345.7 kB / 0.9229 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.1591, allocations: 29.7 kB / 0.9229 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1592, allocations: 192.2 kB / 0.9231 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1592, allocations: 51.38 kB / 0.9231 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.1592, allocations: 9.719 kB / 0.9231 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.1593, allocations: 346.8 kB / 0.9235 GB, free: 39.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1594, allocations: 55.91 kB / 0.9235 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1595, allocations: 92.23 kB / 0.9236 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1598, allocations: 129.6 kB / 0.9237 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1598, allocations: 0 / 0.9237 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002976/0.1601, allocations: 193.1 kB / 0.9239 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.1601, allocations: 105.8 kB / 0.924 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1601, allocations: 0 / 0.924 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1602, allocations: 0 / 0.924 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1603, allocations: 27.98 kB / 0.924 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1603, allocations: 0 / 0.924 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1605, allocations: 35.88 kB / 0.9241 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.1605, allocations: 4 kB / 0.9241 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.399e-06/0.1605, allocations: 7.938 kB / 0.9241 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000234/0.1608, allocations: 123.9 kB / 0.9242 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.1608, allocations: 4 kB / 0.9242 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.1608, allocations: 3.938 kB / 0.9242 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.1609, allocations: 31.92 kB / 0.9242 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.1609, allocations: 0 / 0.9242 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1611, allocations: 35.81 kB / 0.9243 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1611, allocations: 8 kB / 0.9243 GB, free: 38.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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 9.298e-05/0.1612, allocations: 221 kB / 0.9245 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.1612, allocations: 31.62 kB / 0.9245 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.1616, allocations: 245.3 kB / 0.9248 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1616, allocations: 4.094 kB / 0.9248 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1616, allocations: 7.922 kB / 0.9248 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1616, allocations: 3.984 kB / 0.9248 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1622, allocations: 0.6499 MB / 0.9254 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1623, allocations: 4 kB / 0.9254 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.1623, allocations: 23.98 kB / 0.9254 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1624, allocations: 4 kB / 0.9254 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1624, allocations: 0 / 0.9254 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1624, allocations: 4 kB / 0.9254 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1624, allocations: 4.094 kB / 0.9254 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1627, allocations: 333.5 kB / 0.9258 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1628, allocations: 124.6 kB / 0.9259 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.1628, allocations: 8 kB / 0.9259 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.163, allocations: 19.97 kB / 0.9259 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.1631, allocations: 19.92 kB / 0.9259 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1631, allocations: 8 kB / 0.9259 GB, free: 37.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001551/0.1632, allocations: 243.2 kB / 0.9262 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1632, allocations: 0 / 0.9262 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004261/0.1637, allocations: 191.6 kB / 0.9264 GB, free: 36.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007572/0.1644, allocations: 1.008 MB / 0.9273 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.1648, allocations: 203.8 kB / 0.9275 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1648, allocations: 0 / 0.9275 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.165, allocations: 87.88 kB / 0.9276 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.1657, allocations: 146.2 kB / 0.9278 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.168, allocations: 2.865 MB / 0.9306 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.1682, allocations: 0.7921 MB / 0.9313 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.1684, allocations: 75.09 kB / 0.9314 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.1685, allocations: 111.4 kB / 0.9315 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1685, allocations: 0 / 0.9315 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2047/0.3732, allocations: 9.487 MB / 0.9408 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.3733, allocations: 263.6 kB / 0.941 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.424, allocations: 4.062 kB / 0.941 GB, free: 21.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)