Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 189.5 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008071/0.0008073, allocations: 90.73 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005857/0.0005858, allocations: 11.98 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7896, allocations: 119.2 MB / 1.022 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01382/0.8034, allocations: 14.72 MB / 1.037 GB, free: 47.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005338/0.8088, allocations: 5.481 MB / 1.042 GB, free: 42.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.8093, allocations: 19.22 kB / 1.042 GB, free: 42.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005804/0.8099, allocations: 151.2 kB / 1.042 GB, free: 42.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.8115, allocations: 0.6131 MB / 1.043 GB, free: 42.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.8127, allocations: 430.7 kB / 1.043 GB, free: 41.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.8142, allocations: 1.365 MB / 1.045 GB, free: 41.45 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.8146, allocations: 241.9 kB / 1.045 GB, free: 41.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.8152, allocations: 385 kB / 1.045 GB, free: 41.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.8155, allocations: 259.6 kB / 1.045 GB, free: 41.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.8155, allocations: 12.38 kB / 1.045 GB, free: 41.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.8167, allocations: 0.673 MB / 1.046 GB, free: 40.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.8168, allocations: 64.55 kB / 1.046 GB, free: 40.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.817, allocations: 203.9 kB / 1.046 GB, free: 40.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.8179, allocations: 0.6954 MB / 1.047 GB, free: 40.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8179, allocations: 0 / 1.047 GB, free: 40.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8179, allocations: 0 / 1.047 GB, free: 40.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.84e-06/0.818, allocations: 0 / 1.047 GB, free: 40.49 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000987/0.8189, allocations: 0.6951 MB / 1.048 GB, free: 39.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.819, allocations: 6.844 kB / 1.048 GB, free: 39.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.8191, allocations: 48.58 kB / 1.048 GB, free: 39.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.8198, allocations: 497.5 kB / 1.048 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8199, allocations: 18.27 kB / 1.048 GB, free: 39.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.8199, allocations: 19.42 kB / 1.048 GB, free: 39.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.8203, allocations: 183.1 kB / 1.048 GB, free: 39.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8203, allocations: 0 / 1.048 GB, free: 39.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.8203, allocations: 7.031 kB / 1.048 GB, free: 39.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8203, allocations: 3.688 kB / 1.048 GB, free: 39.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.8206, allocations: 150.6 kB / 1.049 GB, free: 39.39 MB / 0.698 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.00098/0.8216, allocations: 0.864 MB / 1.049 GB, free: 38.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.8219, allocations: 128.8 kB / 1.049 GB, free: 38.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.8221, allocations: 75.09 kB / 1.05 GB, free: 38.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.8224, allocations: 334 kB / 1.05 GB, free: 38.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.8225, allocations: 39.03 kB / 1.05 GB, free: 38.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.8225, allocations: 4 kB / 1.05 GB, free: 38.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006897/0.8232, allocations: 230.7 kB / 1.05 GB, free: 38.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.8232, allocations: 59.34 kB / 1.05 GB, free: 38.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.8237, allocations: 343.3 kB / 1.051 GB, free: 37.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.8237, allocations: 31.86 kB / 1.051 GB, free: 37.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.8239, allocations: 197.9 kB / 1.051 GB, free: 37.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.8239, allocations: 42.5 kB / 1.051 GB, free: 37.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.8239, allocations: 5.375 kB / 1.051 GB, free: 37.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.824, allocations: 339.5 kB / 1.051 GB, free: 37.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.8242, allocations: 55.47 kB / 1.051 GB, free: 37.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.8244, allocations: 92.05 kB / 1.051 GB, free: 37.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.8246, allocations: 130.2 kB / 1.051 GB, free: 37.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.8247, allocations: 0.75 kB / 1.051 GB, free: 37.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003829/0.825, allocations: 178 kB / 1.052 GB, free: 37.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.8251, allocations: 109.8 kB / 1.052 GB, free: 37.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8251, allocations: 5.625 kB / 1.052 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8252, allocations: 0 / 1.052 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.8253, allocations: 28.16 kB / 1.052 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.8253, allocations: 4.906 kB / 1.052 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.8256, allocations: 37.92 kB / 1.052 GB, free: 36.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.8257, allocations: 7.203 kB / 1.052 GB, free: 36.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.8257, allocations: 2.594 kB / 1.052 GB, free: 36.99 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002927/0.826, allocations: 131.9 kB / 1.052 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-06/0.826, allocations: 0 / 1.052 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-06/0.826, allocations: 0 / 1.052 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.8261, allocations: 33.39 kB / 1.052 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.8261, allocations: 3.938 kB / 1.052 GB, free: 36.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.8263, allocations: 36.73 kB / 1.052 GB, free: 36.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.8263, allocations: 6.875 kB / 1.052 GB, free: 36.93 MB / 0.698 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.000147/0.8265, allocations: 217.1 kB / 1.052 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.8266, allocations: 33.94 kB / 1.052 GB, free: 36.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.8271, allocations: 234.7 kB / 1.052 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.8271, allocations: 7.734 kB / 1.052 GB, free: 36.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.8271, allocations: 0 / 1.052 GB, free: 36.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8271, allocations: 3.812 kB / 1.052 GB, free: 36.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.828, allocations: 0.6358 MB / 1.053 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.8281, allocations: 0 / 1.053 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.8282, allocations: 32.12 kB / 1.053 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8282, allocations: 2.531 kB / 1.053 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.8282, allocations: 6.312 kB / 1.053 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8282, allocations: 7.875 kB / 1.053 GB, free: 36.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8282, allocations: 1.031 kB / 1.053 GB, free: 36.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.8287, allocations: 333.5 kB / 1.053 GB, free: 35.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.8288, allocations: 129.2 kB / 1.054 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.8289, allocations: 1.531 kB / 1.054 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.8291, allocations: 36.12 kB / 1.054 GB, free: 35.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.8292, allocations: 12.86 kB / 1.054 GB, free: 35.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.8292, allocations: 5.844 kB / 1.054 GB, free: 35.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002661/0.8295, allocations: 240.4 kB / 1.054 GB, free: 35.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8295, allocations: 0 / 1.054 GB, free: 35.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007043/0.8302, allocations: 193.4 kB / 1.054 GB, free: 35.61 MB / 0.698 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.0006124/0.8308, allocations: 251 kB / 1.054 GB, free: 35.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005062/0.8313, allocations: 200.9 kB / 1.054 GB, free: 35.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8313, allocations: 0 / 1.054 GB, free: 35.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.8315, allocations: 80.19 kB / 1.054 GB, free: 35.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.8325, allocations: 155.6 kB / 1.055 GB, free: 35.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.8335, allocations: 0.6924 MB / 1.055 GB, free: 34.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.8338, allocations: 0.7944 MB / 1.056 GB, free: 34.19 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003228/0.8341, allocations: 69.34 kB / 1.056 GB, free: 34.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.8342, allocations: 34.06 kB / 1.056 GB, free: 34.18 MB / 0.698 GB Notification: Performance of SimCode: time 4.8e-07/0.8342, allocations: 0 / 1.056 GB, free: 34.18 MB / 0.698 GB Notification: Performance of Templates: time 0.01106/0.8453, allocations: 6.292 MB / 1.062 GB, free: 33.7 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)