Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.371/2.371, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.002115/0.002115, allocations: 202.6 kB / 329.5 MB, free: 1.172 MB / 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 2.735/2.735, allocations: 225.6 MB / 0.6001 GB, free: 2.172 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.0009346/0.0009349, allocations: 107.4 kB / 0.7074 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004738, allocations: 10.12 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.0018/0.2116, allocations: 1.283 MB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.213, allocations: 0.6433 MB / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2131, allocations: 0 / 0.9326 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.2132, allocations: 15.86 kB / 0.9327 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.2133, allocations: 19.86 kB / 0.9327 GB, free: 23.18 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.0004638/0.2138, allocations: 95.81 kB / 0.9328 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.2139, allocations: 115.6 kB / 0.9329 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.2141, allocations: 37.09 kB / 0.9329 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.2142, allocations: 43.83 kB / 0.933 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.2143, allocations: 51.75 kB / 0.933 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.2143, allocations: 7.938 kB / 0.933 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2145, allocations: 43.91 kB / 0.9331 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.2145, allocations: 27.89 kB / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.2146, allocations: 45.64 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.2147, allocations: 104 kB / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2148, allocations: 0 / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2148, allocations: 0 / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2148, allocations: 0 / 0.9332 GB, free: 22.61 MB / 0.5886 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.0009707/0.2158, allocations: 0.543 MB / 0.9338 GB, free: 22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2158, allocations: 8.031 kB / 0.9338 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.2159, allocations: 16.75 kB / 0.9338 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2161, allocations: 208.9 kB / 0.934 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2161, allocations: 8.375 kB / 0.934 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.2162, allocations: 16.36 kB / 0.934 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.2166, allocations: 139.6 kB / 0.9341 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2166, allocations: 0 / 0.9341 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.2167, allocations: 4 kB / 0.9341 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2167, allocations: 4 kB / 0.9341 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.2171, allocations: 75.94 kB / 0.9342 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.2178, allocations: 488.6 kB / 0.9347 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.2181, allocations: 89.12 kB / 0.9348 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.2184, allocations: 57.81 kB / 0.9348 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2184, allocations: 0 / 0.9348 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004308/0.2189, allocations: 153 kB / 0.935 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.2189, allocations: 4 kB / 0.935 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12): time 0.0008851/0.2198, allocations: 205.3 kB / 0.9352 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2198, allocations: 81.22 kB / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.22, allocations: 170.3 kB / 0.9354 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.22, allocations: 29.7 kB / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2201, allocations: 116.3 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.2201, allocations: 23.7 kB / 0.9356 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.2202, allocations: 8 kB / 0.9356 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.2202, allocations: 326.8 kB / 0.9359 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2205, allocations: 44.34 kB / 0.9359 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.2207, allocations: 130.1 kB / 0.9361 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.221, allocations: 59.97 kB / 0.9361 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.221, allocations: 0 / 0.9361 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005573/0.2216, allocations: 189.3 kB / 0.9363 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2216, allocations: 4 kB / 0.9363 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2216, allocations: 4 kB / 0.9363 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2216, allocations: 4 kB / 0.9363 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2218, allocations: 15.98 kB / 0.9363 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.2218, allocations: 4 kB / 0.9363 GB, free: 19.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.222, allocations: 28.05 kB / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.222, allocations: 4 kB / 0.9364 GB, free: 19.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2222, allocations: 136 kB / 0.9365 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.2222, allocations: 15.81 kB / 0.9365 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.2223, allocations: 21.39 kB / 0.9365 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2223, allocations: 0 / 0.9365 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2223, allocations: 4 kB / 0.9365 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2223, allocations: 3.938 kB / 0.9365 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.2232, allocations: 0.5367 MB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2232, allocations: 4 kB / 0.9371 GB, free: 18.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.2234, allocations: 19.98 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2234, allocations: 3.938 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2234, allocations: 4 kB / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2234, allocations: 0 / 0.9371 GB, free: 18.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2234, allocations: 3.938 kB / 0.9371 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.224, allocations: 334.8 kB / 0.9374 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2241, allocations: 96.84 kB / 0.9375 GB, free: 17.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.2241, allocations: 7.938 kB / 0.9375 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.2244, allocations: 23.98 kB / 0.9375 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.2245, allocations: 11.97 kB / 0.9375 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.2245, allocations: 15.98 kB / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.562e-05/0.2246, allocations: 117 kB / 0.9377 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2246, allocations: 0 / 0.9377 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004283/0.2251, allocations: 36 kB / 0.9377 GB, free: 17.63 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 (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.0004903/0.2256, allocations: 229.9 kB / 0.9379 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.2261, allocations: 127.9 kB / 0.938 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2261, allocations: 0 / 0.938 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.2264, allocations: 60 kB / 0.9381 GB, free: 17.25 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.2269, allocations: 20.36 kB / 0.9381 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.2275, allocations: 278.7 kB / 0.9384 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2277, allocations: 0.7083 MB / 0.9391 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.615e-05/0.2278, allocations: 20.53 kB / 0.9391 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.2278, allocations: 15.44 kB / 0.9391 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of SimCode: time 7.62e-07/0.2278, allocations: 4 kB / 0.9391 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of Templates: time 0.006266/0.2341, allocations: 1.59 MB / 0.9407 GB, free: 14.57 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)