Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 255.9 MB / 271.2 MB, free: 8.891 MB / 218.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.0008946/0.0008945, allocations: 185.2 kB / 330.8 MB, free: 480 kB / 250.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.323/1.323, allocations: 225.7 MB / 0.6016 GB, free: 1.656 MB / 426.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.0007146/0.0007146, allocations: 99.61 kB / 0.709 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001243/0.1506, allocations: 1.29 MB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009119/0.1515, allocations: 1.035 MB / 0.935 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.1515, allocations: 0 / 0.935 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 7.344e-05/0.1516, allocations: 7.922 kB / 0.935 GB, free: 3.809 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.1517, allocations: 15.81 kB / 0.935 GB, free: 3.793 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0003067/0.152, allocations: 95.83 kB / 0.9351 GB, free: 3.699 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1521, allocations: 127.6 kB / 0.9353 GB, free: 3.574 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1522, allocations: 32.89 kB / 0.9353 GB, free: 3.539 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.1523, allocations: 47.78 kB / 0.9353 GB, free: 3.492 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.1523, allocations: 59.67 kB / 0.9354 GB, free: 3.434 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1524, allocations: 4 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.1525, allocations: 39.98 kB / 0.9354 GB, free: 3.391 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1525, allocations: 27.89 kB / 0.9355 GB, free: 3.363 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1526, allocations: 81.38 kB / 0.9355 GB, free: 3.277 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1527, allocations: 159.7 kB / 0.9357 GB, free: 3.121 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1527, allocations: 0 / 0.9357 GB, free: 3.121 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1527, allocations: 0 / 0.9357 GB, free: 3.121 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1527, allocations: 0 / 0.9357 GB, free: 3.121 MB / 0.573 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.0005546/0.1533, allocations: 0.5313 MB / 0.9362 GB, free: 2.523 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.1533, allocations: 11.98 kB / 0.9362 GB, free: 2.512 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1534, allocations: 24.69 kB / 0.9362 GB, free: 2.488 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1535, allocations: 216.5 kB / 0.9365 GB, free: 2.238 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.1535, allocations: 8.375 kB / 0.9365 GB, free: 2.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1536, allocations: 16.36 kB / 0.9365 GB, free: 2.215 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1538, allocations: 135.6 kB / 0.9366 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1538, allocations: 0 / 0.9366 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1538, allocations: 4 kB / 0.9366 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1538, allocations: 4 kB / 0.9366 GB, free: 2.062 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1541, allocations: 83.88 kB / 0.9367 GB, free: 1.98 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1545, allocations: 480.6 kB / 0.9372 GB, free: 1.457 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1547, allocations: 89.17 kB / 0.9372 GB, free: 1.352 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1548, allocations: 53.81 kB / 0.9373 GB, free: 1.293 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1548, allocations: 0 / 0.9373 GB, free: 1.293 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.1551, allocations: 152.9 kB / 0.9374 GB, free: 1.125 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.1551, allocations: 0 / 0.9374 GB, free: 1.125 MB / 0.573 GB Notification: Performance of matching and sorting (n=12): time 0.0004509/0.1555, allocations: 213.4 kB / 0.9376 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.1556, allocations: 85.11 kB / 0.9377 GB, free: 0.8086 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.1556, allocations: 165.1 kB / 0.9379 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1557, allocations: 29.69 kB / 0.9379 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1557, allocations: 112.3 kB / 0.938 GB, free: 500 kB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.1557, allocations: 23.7 kB / 0.938 GB, free: 476 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1557, allocations: 4 kB / 0.938 GB, free: 472 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.1558, allocations: 326.8 kB / 0.9383 GB, free: 136 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1559, allocations: 51.91 kB / 0.9384 GB, free: 84 kB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1561, allocations: 122.3 kB / 0.9385 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1564, allocations: 167.5 kB / 0.9387 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1564, allocations: 0 / 0.9387 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/0.1567, allocations: 177.4 kB / 0.9388 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1568, allocations: 4 kB / 0.9388 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1568, allocations: 4 kB / 0.9389 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1568, allocations: 8.094 kB / 0.9389 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.1569, allocations: 23.86 kB / 0.9389 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1569, allocations: 8.156 kB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.157, allocations: 24.3 kB / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.157, allocations: 4 kB / 0.9389 GB, free: 15.48 MB / 0.5886 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.0001015/0.1571, allocations: 131.5 kB / 0.939 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1571, allocations: 19.81 kB / 0.9391 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.1572, allocations: 21.33 kB / 0.9391 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1572, allocations: 0 / 0.9391 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1572, allocations: 8 kB / 0.9391 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1572, allocations: 3.938 kB / 0.9391 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.1579, allocations: 0.5524 MB / 0.9396 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1579, allocations: 0 / 0.9396 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.158, allocations: 15.98 kB / 0.9396 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.158, allocations: 7.938 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.158, allocations: 0 / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.158, allocations: 0 / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.158, allocations: 3.984 kB / 0.9397 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1584, allocations: 334.5 kB / 0.94 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1584, allocations: 96.86 kB / 0.9401 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1585, allocations: 7.938 kB / 0.9401 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1586, allocations: 27.97 kB / 0.9401 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1587, allocations: 7.984 kB / 0.9401 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.1587, allocations: 8 kB / 0.9401 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.1588, allocations: 117 kB / 0.9402 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1588, allocations: 8 kB / 0.9402 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00028/0.1591, allocations: 39.98 kB / 0.9403 GB, free: 13.99 MB / 0.5886 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.0003432/0.1594, allocations: 224.8 kB / 0.9405 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1598, allocations: 116 kB / 0.9406 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1598, allocations: 4 kB / 0.9406 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1599, allocations: 60.27 kB / 0.9407 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1603, allocations: 23.91 kB / 0.9407 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1607, allocations: 296.8 kB / 0.941 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1609, allocations: 0.7082 MB / 0.9417 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.161, allocations: 32.47 kB / 0.9417 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.161, allocations: 11.44 kB / 0.9417 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of SimCode: time 2.11e-07/0.161, allocations: 0 / 0.9417 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of Templates: time 0.004101/0.1652, allocations: 1.634 MB / 0.9433 GB, free: 10.88 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)