Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.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.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") 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.562/1.562, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.0008604/0.0008604, allocations: 186 kB / 382.3 MB, free: 14.83 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.279/1.279, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0008485/0.0008485, allocations: 88.75 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 8 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5466, allocations: 119.2 MB / 1.022 GB, free: 57.92 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002171/0.5488, allocations: 1.283 MB / 1.024 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.5505, allocations: 1.04 MB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.5506, allocations: 1.5 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.875e-05/0.5507, allocations: 11.92 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.5508, allocations: 14.45 kB / 1.025 GB, free: 56.51 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.IO.Files.BaseClasses.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.5513, allocations: 100.9 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.5515, allocations: 130.7 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.5517, allocations: 30.53 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.5518, allocations: 43.95 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.5519, allocations: 64.55 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.5519, allocations: 5 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.5521, allocations: 42.69 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.5522, allocations: 21.58 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.5523, allocations: 79 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.5526, allocations: 158.6 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5526, allocations: 1.094 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5526, allocations: 0 / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5526, allocations: 0 / 1.025 GB, free: 56.22 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009054/0.5535, allocations: 0.5325 MB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5536, allocations: 9.531 kB / 1.026 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.5537, allocations: 18.69 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5539, allocations: 225.2 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.554, allocations: 12.08 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.554, allocations: 5.688 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.5545, allocations: 138.6 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5545, allocations: 0 / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.5545, allocations: 5.703 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.5546, allocations: 2.938 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.555, allocations: 89.03 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.5558, allocations: 469.5 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.5561, allocations: 91.98 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.5563, allocations: 56.84 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.5563, allocations: 1.953 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.5567, allocations: 155.3 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.946e-06/0.5567, allocations: 0.7969 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0007803/0.5575, allocations: 211.2 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5576, allocations: 79.92 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.5577, allocations: 161 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.5578, allocations: 28.02 kB / 1.027 GB, free: 54.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.5578, allocations: 116 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.5579, allocations: 33.55 kB / 1.028 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.5579, allocations: 4 kB / 1.028 GB, free: 54.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.558, allocations: 328.1 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.5582, allocations: 46.22 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.5584, allocations: 122.2 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.5589, allocations: 162.4 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5589, allocations: 1.484 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005239/0.5594, allocations: 178.7 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5594, allocations: 10.44 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5595, allocations: 3.312 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5595, allocations: 7.812 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5596, allocations: 19.75 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5597, allocations: 3.375 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.5598, allocations: 27.86 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.5599, allocations: 4.875 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001195/0.56, allocations: 147.3 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.56, allocations: 10.97 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.5601, allocations: 18.53 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5601, allocations: 1.25 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5601, allocations: 0 / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.5602, allocations: 8.75 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.561, allocations: 0.5538 MB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.561, allocations: 1.094 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5612, allocations: 17.28 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5612, allocations: 7.938 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.5612, allocations: 1.469 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5612, allocations: 7.109 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5612, allocations: 2.109 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.5618, allocations: 338.5 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.5618, allocations: 85.11 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.5618, allocations: 5.188 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.5622, allocations: 26.72 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.5622, allocations: 10.77 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.5623, allocations: 10.22 kB / 1.03 GB, free: 52.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.149e-05/0.5624, allocations: 121 kB / 1.03 GB, free: 52.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5624, allocations: 0 / 1.03 GB, free: 52.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005549/0.563, allocations: 45.06 kB / 1.03 GB, free: 52.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005126/0.5635, allocations: 223.3 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.564, allocations: 122.4 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.564, allocations: 0.5625 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.5642, allocations: 67.08 kB / 1.03 GB, free: 52.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.5648, allocations: 20.92 kB / 1.03 GB, free: 52.49 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.5654, allocations: 284.5 kB / 1.03 GB, free: 52.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.5656, allocations: 0.716 MB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.5657, allocations: 25.58 kB / 1.031 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5657, allocations: 13.97 kB / 1.031 GB, free: 51.56 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.5657, allocations: 0.9375 kB / 1.031 GB, free: 51.56 MB / 0.698 GB Notification: Performance of Templates: time 0.006256/0.572, allocations: 1.637 MB / 1.033 GB, free: 51.4 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)