Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.87/1.87, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001061/0.001061, allocations: 183.5 kB / 393.1 MB, free: 4.094 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.542/1.542, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008108, allocations: 93.39 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 8 kB / 0.9224 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6731, allocations: 121.3 MB / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1808/0.8539, allocations: 173.9 MB / 1.211 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00985/0.8638, allocations: 6.951 MB / 1.217 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.8652, allocations: 27.75 kB / 1.217 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.8665, allocations: 362.6 kB / 1.218 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.8706, allocations: 1.328 MB / 1.219 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.873, allocations: 0.7005 MB / 1.22 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.8769, allocations: 2.526 MB / 1.222 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.878, allocations: 492.7 kB / 1.223 GB, free: 9.176 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.88, allocations: 0.7796 MB / 1.223 GB, free: 8.516 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.8814, allocations: 0.5406 MB / 1.224 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.8815, allocations: 28 kB / 1.224 GB, free: 8.035 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.8854, allocations: 1.584 MB / 1.226 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.000388/0.8858, allocations: 224.9 kB / 1.226 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.8863, allocations: 376.1 kB / 1.226 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.889, allocations: 1.454 MB / 1.228 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.889, allocations: 4 kB / 1.228 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.805e-06/0.889, allocations: 0 / 1.228 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.8891, allocations: 0 / 1.228 GB, free: 4.988 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001624/0.8907, allocations: 0.9578 MB / 1.229 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8907, allocations: 16.02 kB / 1.229 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.892, allocations: 214.8 kB / 1.229 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.8929, allocations: 0.577 MB / 1.229 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.8929, allocations: 37 kB / 1.229 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.893, allocations: 44 kB / 1.229 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.8939, allocations: 0.4945 MB / 1.23 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.8939, allocations: 0 / 1.23 GB, free: 2.555 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.894, allocations: 23.94 kB / 1.23 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.894, allocations: 20.94 kB / 1.23 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007779/0.8948, allocations: 439.7 kB / 1.23 GB, free: 2.078 MB / 0.7917 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.002668/0.8975, allocations: 1.998 MB / 1.232 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.898, allocations: 348.2 kB / 1.233 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.8984, allocations: 219.8 kB / 1.233 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/0.8987, allocations: 198.4 kB / 1.233 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.8988, allocations: 42.78 kB / 1.233 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.8988, allocations: 0 / 1.233 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.00127/0.9001, allocations: 0.5626 MB / 1.234 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.9001, allocations: 59.41 kB / 1.234 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.9007, allocations: 0.4952 MB / 1.234 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.9008, allocations: 33.69 kB / 1.234 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.901, allocations: 304.2 kB / 1.234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.9011, allocations: 118.2 kB / 1.235 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.9012, allocations: 8 kB / 1.235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9013, allocations: 362.8 kB / 1.235 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.9016, allocations: 136.6 kB / 1.235 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.902, allocations: 225.1 kB / 1.235 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/0.9025, allocations: 343.9 kB / 1.236 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9026, allocations: 4 kB / 1.236 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007304/0.9033, allocations: 437.5 kB / 1.236 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.9034, allocations: 123.6 kB / 1.236 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9034, allocations: 0 / 1.236 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.9034, allocations: 4 kB / 1.236 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.9038, allocations: 71.91 kB / 1.236 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.9038, allocations: 4 kB / 1.236 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005231/0.9044, allocations: 63.64 kB / 1.236 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.9044, allocations: 12 kB / 1.236 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.9044, allocations: 4 kB / 1.236 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006341/0.9051, allocations: 351.6 kB / 1.237 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.9051, allocations: 0 / 1.237 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.9051, allocations: 4 kB / 1.237 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.9054, allocations: 71.89 kB / 1.237 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.9054, allocations: 12.16 kB / 1.237 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.9059, allocations: 63.59 kB / 1.237 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.9059, allocations: 12 kB / 1.237 GB, free: 11.13 MB / 0.8073 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 (39): * Single equations (assignments): 39 * 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.000296/0.9062, allocations: 293 kB / 1.237 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.9063, allocations: 59.25 kB / 1.237 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007645/0.9071, allocations: 427.6 kB / 1.238 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.9071, allocations: 7.938 kB / 1.238 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-05/0.9071, allocations: 3.938 kB / 1.238 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006281/0.9077, allocations: 447.9 kB / 1.238 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.9096, allocations: 1.184 MB / 1.239 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.9096, allocations: 4 kB / 1.239 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.9102, allocations: 83.89 kB / 1.239 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.9102, allocations: 8 kB / 1.239 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.9103, allocations: 8 kB / 1.239 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.9103, allocations: 7.984 kB / 1.239 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9103, allocations: 0 / 1.239 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.9114, allocations: 0.738 MB / 1.24 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002298/0.9116, allocations: 180.3 kB / 1.24 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.9117, allocations: 12 kB / 1.24 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.9122, allocations: 51.89 kB / 1.24 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.9123, allocations: 23.97 kB / 1.24 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.9123, allocations: 15.94 kB / 1.24 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004524/0.9128, allocations: 358.8 kB / 1.241 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9128, allocations: 7.938 kB / 1.241 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008985/0.9137, allocations: 331 kB / 1.241 GB, free: 6.754 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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 (33): * Single equations (assignments): 33 * 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.0005019/0.9142, allocations: 202.2 kB / 1.241 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009848/0.9152, allocations: 0.5299 MB / 1.242 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9152, allocations: 0 / 1.242 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.9155, allocations: 185.7 kB / 1.242 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.9174, allocations: 371.3 kB / 1.242 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.9194, allocations: 1.532 MB / 1.244 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.9199, allocations: 0.9295 MB / 1.245 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0006153/0.9205, allocations: 180.8 kB / 1.245 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.9207, allocations: 51.44 kB / 1.245 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.9207, allocations: 0 / 1.245 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.02041/0.9411, allocations: 11.32 MB / 1.256 GB, free: 7.586 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)