Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001995/0.001996, 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.002627/0.002627, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.19 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3592, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0161/0.3754, allocations: 15.04 MB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00591/0.3813, allocations: 3.884 MB / 1.087 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009026/0.3823, allocations: 19.88 kB / 1.087 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.3834, allocations: 194.7 kB / 1.087 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.3864, allocations: 0.6764 MB / 1.088 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.388, allocations: 465.7 kB / 1.088 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3899, allocations: 1.084 MB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.3905, allocations: 289.5 kB / 1.089 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008855/0.3914, allocations: 402.5 kB / 1.09 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.3918, allocations: 262.8 kB / 1.09 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.3919, allocations: 20 kB / 1.09 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3933, allocations: 0.7212 MB / 1.091 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3935, allocations: 71.69 kB / 1.091 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.3938, allocations: 183 kB / 1.091 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.3952, allocations: 0.7128 MB / 1.092 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3952, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3952, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.3953, allocations: 0 / 1.092 GB, free: 2.363 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001396/0.3967, allocations: 0.7551 MB / 1.092 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3967, allocations: 11.97 kB / 1.092 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3968, allocations: 44.47 kB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.3978, allocations: 0.4978 MB / 1.093 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3978, allocations: 12.33 kB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.3979, allocations: 20 kB / 1.093 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.3983, allocations: 184.1 kB / 1.093 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3983, allocations: 3.984 kB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3983, allocations: 4 kB / 1.093 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3983, allocations: 4 kB / 1.093 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.3987, allocations: 143.8 kB / 1.093 GB, free: 0.5977 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.001267/0.3999, allocations: 0.8605 MB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.4003, allocations: 118.6 kB / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.4004, allocations: 76.75 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.4008, allocations: 340.4 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4009, allocations: 30.56 kB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.4009, allocations: 0 / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.00061/0.4015, allocations: 217.1 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.4015, allocations: 55.41 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.4019, allocations: 345.7 kB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.402, allocations: 37.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4021, allocations: 192.2 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.4022, allocations: 43.39 kB / 1.095 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.4022, allocations: 33.62 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4024, allocations: 342.8 kB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4025, allocations: 52.81 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.4027, allocations: 88.25 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.403, allocations: 117.6 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.403, allocations: 0 / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003867/0.4034, allocations: 181.2 kB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4034, allocations: 11.94 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4035, allocations: 3.984 kB / 1.096 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4035, allocations: 4 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.4036, allocations: 19.98 kB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4037, allocations: 7.938 kB / 1.096 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.4039, allocations: 19.92 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4039, allocations: 7.984 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002213/0.4041, allocations: 156.1 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001655/0.4043, allocations: 84.25 kB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002425/0.4045, allocations: 109.6 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.4046, allocations: 4 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003596/0.4049, allocations: 177.1 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4049, allocations: 4 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.405, allocations: 7.938 kB / 1.097 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-06/0.405, allocations: 7.922 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4051, allocations: 24.11 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.4051, allocations: 0 / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.4053, allocations: 15.98 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4053, allocations: 8 kB / 1.097 GB, free: 12.54 MB / 0.8575 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 0.0001262/0.4054, allocations: 196.2 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.4055, allocations: 39.47 kB / 1.097 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.406, allocations: 225.5 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4061, allocations: 3.984 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4061, allocations: 192 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4061, allocations: 0 / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.407, allocations: 0.6333 MB / 1.098 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4071, allocations: 4 kB / 1.098 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4072, allocations: 23.98 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.4072, allocations: 0 / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4072, allocations: 4 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4072, allocations: 4.094 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4072, allocations: 3.938 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.4077, allocations: 327.1 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4078, allocations: 128.6 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.4079, allocations: 8 kB / 1.098 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4081, allocations: 11.98 kB / 1.098 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4082, allocations: 11.98 kB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.4082, allocations: 4 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002712/0.4085, allocations: 255 kB / 1.099 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4085, allocations: 4 kB / 1.099 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006589/0.4091, allocations: 191.5 kB / 1.099 GB, free: 10.38 MB / 0.8575 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.0006477/0.4098, allocations: 239.5 kB / 1.099 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.4103, allocations: 199.7 kB / 1.099 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4104, allocations: 4 kB / 1.099 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.4105, allocations: 75.89 kB / 1.099 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.4114, allocations: 150.5 kB / 1.1 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.4123, allocations: 0.5749 MB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.4127, allocations: 0.7957 MB / 1.101 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000275/0.413, allocations: 75.06 kB / 1.101 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.4131, allocations: 35.42 kB / 1.101 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.4131, allocations: 0 / 1.101 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.01319/0.4263, allocations: 6.569 MB / 1.107 GB, free: 1.711 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)