Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 216.7 kB / 23.02 MB, free: 2.969 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9651/0.9651, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.95/1.95, allocations: 0.5046 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 75.88 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7391, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002051/0.7411, allocations: 1.588 MB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.742, allocations: 0.7169 MB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.7421, allocations: 0 / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.7422, allocations: 15.8 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.7422, allocations: 23.8 kB / 1.355 GB, free: 15.33 MB / 1.042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.0003961/0.7426, allocations: 119.7 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.7428, allocations: 143.5 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.7429, allocations: 23.33 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.743, allocations: 63.77 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.7431, allocations: 55.69 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.7431, allocations: 12 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.7432, allocations: 51.97 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.7432, allocations: 39.89 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.7433, allocations: 43.73 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.7435, allocations: 167.4 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7435, allocations: 3.938 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7435, allocations: 0 / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7435, allocations: 0 / 1.355 GB, free: 14.62 MB / 1.042 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.0005855/0.7441, allocations: 496.3 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7441, allocations: 12.86 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.7441, allocations: 42.73 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.7442, allocations: 12.89 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.7443, allocations: 154.8 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.7443, allocations: 4.375 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.7444, allocations: 12.31 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.7446, allocations: 131.4 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7446, allocations: 4 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7446, allocations: 11.98 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7446, allocations: 0 / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.7447, allocations: 63.94 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.7451, allocations: 415.8 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.7453, allocations: 89.11 kB / 1.357 GB, free: 13.05 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.7453, allocations: 53.81 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.7454, allocations: 0 / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.7455, allocations: 141 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 9.41e-07/0.7456, allocations: 0 / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.000345/0.7459, allocations: 197.4 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.7459, allocations: 81.11 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.746, allocations: 164 kB / 1.357 GB, free: 12.37 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.7461, allocations: 33.69 kB / 1.357 GB, free: 12.33 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.7461, allocations: 112.4 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.7461, allocations: 27.8 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.7462, allocations: 41.64 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.7462, allocations: 326.9 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.7463, allocations: 39.91 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.7464, allocations: 198 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.7466, allocations: 151.5 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7466, allocations: 0 / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001945/0.7468, allocations: 169.6 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7468, allocations: 4 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7468, allocations: 4 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7468, allocations: 4 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.7469, allocations: 16.36 kB / 1.358 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.7469, allocations: 7.938 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.7469, allocations: 15.92 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.747, allocations: 12 kB / 1.359 GB, free: 11.12 MB / 1.042 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 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * 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 7.766e-05/0.747, allocations: 134.3 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.747, allocations: 19.94 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.7471, allocations: 13.64 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7471, allocations: 4 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7471, allocations: 0 / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.7471, allocations: 11.91 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.7475, allocations: 0.4928 MB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7475, allocations: 0 / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.7476, allocations: 15.97 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.7476, allocations: 11.88 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.7476, allocations: 8 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7476, allocations: 0 / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7476, allocations: 0 / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.7478, allocations: 326.6 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.7478, allocations: 19.83 kB / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.7478, allocations: 0 / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.7479, allocations: 19.98 kB / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.748, allocations: 7.984 kB / 1.36 GB, free: 9.961 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.748, allocations: 11.98 kB / 1.36 GB, free: 9.949 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.748, allocations: 123.2 kB / 1.36 GB, free: 9.828 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.748, allocations: 0 / 1.36 GB, free: 9.828 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000223/0.7483, allocations: 35.94 kB / 1.36 GB, free: 9.793 MB / 1.042 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.0007686/0.749, allocations: 0.947 MB / 1.361 GB, free: 8.855 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.7492, allocations: 107.8 kB / 1.361 GB, free: 8.75 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7492, allocations: 0 / 1.361 GB, free: 8.75 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.348e-05/0.7493, allocations: 59.83 kB / 1.361 GB, free: 8.691 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.7496, allocations: 18.05 kB / 1.361 GB, free: 8.676 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.751, allocations: 1.912 MB / 1.363 GB, free: 6.633 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.84e-05/0.751, allocations: 102.3 kB / 1.363 GB, free: 6.512 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.7511, allocations: 20.47 kB / 1.363 GB, free: 6.492 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.7511, allocations: 39.42 kB / 1.363 GB, free: 6.453 MB / 1.042 GB Notification: Performance of SimCode: time 4.7e-07/0.7511, allocations: 0 / 1.363 GB, free: 6.453 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0774/0.8285, allocations: 4.055 MB / 1.367 GB, free: 2.574 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.701, allocations: 15.8 kB / 1.367 GB, free: 2.559 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_Printer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_Printer.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_Printer.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.595063251443207]