Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.892/1.892, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.001034/0.001034, allocations: 189.5 kB / 375.4 MB, free: 5.109 MB / 298.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.475/1.475, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008088/0.0008088, allocations: 98.09 kB / 0.7699 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 9.219 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7071, allocations: 118.1 MB / 1.011 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001542/0.7087, allocations: 1.281 MB / 1.012 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.7098, allocations: 0.6496 MB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.7098, allocations: 3.906 kB / 1.013 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.7099, allocations: 9.312 kB / 1.013 GB, free: 57.85 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.71, allocations: 17.47 kB / 1.013 GB, free: 57.84 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0003728/0.7104, allocations: 88.14 kB / 1.013 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.7105, allocations: 125.1 kB / 1.013 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.7107, allocations: 30.42 kB / 1.013 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.7108, allocations: 43.84 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.7108, allocations: 55.08 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.7109, allocations: 5.719 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.711, allocations: 48.42 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.711, allocations: 22.81 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.7111, allocations: 42.36 kB / 1.013 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.7112, allocations: 117.9 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7112, allocations: 0 / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7113, allocations: 0 / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.7113, allocations: 0 / 1.013 GB, free: 57.73 MB / 0.7136 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.0006368/0.7119, allocations: 0.5198 MB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.7119, allocations: 13.03 kB / 1.014 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.712, allocations: 19.25 kB / 1.014 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.7122, allocations: 227.8 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.7122, allocations: 6.156 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.7122, allocations: 13.98 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.7125, allocations: 138.7 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7125, allocations: 0 / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.7125, allocations: 3.984 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.7126, allocations: 4.844 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.7128, allocations: 81.78 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.7133, allocations: 472.7 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.7135, allocations: 91.5 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.7136, allocations: 51.66 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.7137, allocations: 6.266 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.714, allocations: 158.2 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.714, allocations: 0 / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0005273/0.7145, allocations: 207.9 kB / 1.015 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.7146, allocations: 85.05 kB / 1.015 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.7147, allocations: 162.9 kB / 1.016 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7147, allocations: 28.45 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.7147, allocations: 119.4 kB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.7148, allocations: 27.55 kB / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.7148, allocations: 0 / 1.016 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.7148, allocations: 334.1 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.715, allocations: 39.97 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.7151, allocations: 132.9 kB / 1.016 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.7154, allocations: 162.6 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.7154, allocations: 2.594 kB / 1.016 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003192/0.7158, allocations: 171.1 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.7158, allocations: 6.562 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7158, allocations: 3.531 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7158, allocations: 4.281 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.7159, allocations: 24.59 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.7159, allocations: 12.11 kB / 1.017 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.716, allocations: 20.95 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.7161, allocations: 15.03 kB / 1.017 GB, free: 55.55 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.541e-05/0.7161, allocations: 132.5 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.7162, allocations: 16.28 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.7162, allocations: 15.88 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7162, allocations: 1.875 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7162, allocations: 3.469 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.7162, allocations: 5.406 kB / 1.017 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.7168, allocations: 0.5411 MB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7168, allocations: 7.422 kB / 1.017 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.7169, allocations: 22.03 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7169, allocations: 4.875 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7169, allocations: 1.031 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7169, allocations: 1.219 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7169, allocations: 1.312 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.7173, allocations: 339.1 kB / 1.018 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.7173, allocations: 83.92 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.7173, allocations: 11.39 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.7175, allocations: 27.8 kB / 1.018 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.7176, allocations: 10.48 kB / 1.018 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.7176, allocations: 8.828 kB / 1.018 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.7177, allocations: 118.6 kB / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7177, allocations: 0 / 1.018 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003091/0.718, allocations: 48.64 kB / 1.018 GB, free: 54.62 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004006/0.7184, allocations: 240 kB / 1.018 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003527/0.7187, allocations: 129.8 kB / 1.018 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7188, allocations: 0 / 1.018 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.7189, allocations: 61.83 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.7193, allocations: 25.62 kB / 1.018 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.7197, allocations: 269.9 kB / 1.019 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.7199, allocations: 0.7101 MB / 1.019 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.7199, allocations: 21.81 kB / 1.019 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.72, allocations: 16.56 kB / 1.019 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.72, allocations: 4 kB / 1.019 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.004388/0.7244, allocations: 1.579 MB / 1.021 GB, free: 53.48 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)