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.001396/0.001396, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001586/0.001586, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.8713/0.8713, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.82/1.82, allocations: 389.6 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.873e-06/1.873e-06, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.258e-05, allocations: 5.516 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002042/0.002065, allocations: 1.584 MB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.002982, allocations: 0.7332 MB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.003033, allocations: 11.88 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.003126, allocations: 11.86 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.003165, allocations: 15.75 kB / 1.003 GB, free: 11.21 MB / 0.9636 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.0004102/0.003575, allocations: 111.6 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.003734, allocations: 143.5 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.003941, allocations: 25.3 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.004044, allocations: 79.73 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.004116, allocations: 47.88 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.004136, allocations: 16 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.004231, allocations: 55.89 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.004278, allocations: 31.84 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.004325, allocations: 39.91 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004525, allocations: 183.5 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004527, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004528, allocations: 0 / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004532, allocations: 4 kB / 1.004 GB, free: 10.48 MB / 0.9636 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.0005609/0.005093, allocations: 486.6 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.00513, allocations: 17.28 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.005164, allocations: 38.73 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.005203, allocations: 20.84 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.005355, allocations: 145.6 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.005365, allocations: 4.375 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.005383, allocations: 12.36 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.005588, allocations: 127.9 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.005597, allocations: 4.125 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.005611, allocations: 12.12 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.005615, allocations: 0 / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.005746, allocations: 63.94 kB / 1.005 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.006168, allocations: 423.8 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006286, allocations: 81.19 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.00636, allocations: 41.81 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.006378, allocations: 8.031 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.006563, allocations: 148.9 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.021e-06/0.006564, allocations: 0 / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0003489/0.006913, allocations: 197.6 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.006946, allocations: 81.11 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.007053, allocations: 159.9 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.00707, allocations: 33.64 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.007116, allocations: 104.4 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.007146, allocations: 35.78 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.007184, allocations: 33.7 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.007256, allocations: 330.8 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.007325, allocations: 43.91 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.007447, allocations: 191.4 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.007616, allocations: 151.5 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007618, allocations: 0 / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002106/0.007829, allocations: 165.5 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.007841, allocations: 6.656 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007846, allocations: 7.938 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.007856, allocations: 0 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.00792, allocations: 19.97 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.007927, allocations: 7.984 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.00798, allocations: 15.98 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.007988, allocations: 4.156 kB / 1.007 GB, free: 6.996 MB / 0.9636 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 8.178e-05/0.00807, allocations: 145.9 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.008086, allocations: 15.91 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.008119, allocations: 17.45 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008122, allocations: 4 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.008126, allocations: 3.938 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.00813, allocations: 0 / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.008568, allocations: 0.4928 MB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008569, allocations: 4 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.008607, allocations: 11.98 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008609, allocations: 0 / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.008618, allocations: 4 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.008621, allocations: 7.922 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008622, allocations: 0 / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.00885, allocations: 318.6 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.008862, allocations: 15.89 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.008875, allocations: 4 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.00897, allocations: 27.91 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.009008, allocations: 8.078 kB / 1.008 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.009032, allocations: 15.94 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.009088, allocations: 124.2 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009088, allocations: 0 / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002367/0.009325, allocations: 47.83 kB / 1.008 GB, free: 5.664 MB / 0.9636 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.000608/0.009933, allocations: 0.9373 MB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01014, allocations: 107.8 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01014, allocations: 0 / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.01022, allocations: 51.89 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01048, allocations: 32.34 kB / 1.009 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.012, allocations: 1.908 MB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.925e-05/0.01207, allocations: 98.27 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.01212, allocations: 24.47 kB / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.01217, allocations: 36.48 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.01217, allocations: 0 / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08175/0.09392, allocations: 4.201 MB / 1.015 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.441, allocations: 12.81 kB / 1.015 GB, free: 14.27 MB / 0.9792 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: 11.761621304787695]