Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.0007643/0.0007643, allocations: 104.3 kB / 19.72 MB, free: 420 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.0007939/0.0007939, allocations: 207.8 kB / 23.02 MB, free: 2.961 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.9933/0.9933, allocations: 230.6 MB / 256.8 MB, free: 9.602 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 2.038/2.038, allocations: 0.5045 GB / 0.8104 GB, free: 2.75 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.CSVWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7713, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002682/0.774, allocations: 1.631 MB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.775, allocations: 0.6428 MB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.7751, allocations: 3.938 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.7753, allocations: 27.78 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.7755, allocations: 46.27 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.7759, allocations: 127.7 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.7761, allocations: 183.6 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.7763, allocations: 23.81 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.7765, allocations: 91.8 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.7766, allocations: 83.64 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.7766, allocations: 12 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.077e-05/0.7767, allocations: 32 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.7768, allocations: 35.84 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.7769, allocations: 67.77 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.7771, allocations: 171.4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7771, allocations: 0 / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.136e-06/0.7771, allocations: 4 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7771, allocations: 0 / 1.356 GB, free: 14.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007624/0.7779, allocations: 0.4902 MB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.7779, allocations: 12.92 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.778, allocations: 38.73 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.7782, allocations: 32.83 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.7785, allocations: 179 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.7786, allocations: 16.38 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.7786, allocations: 8.375 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.7789, allocations: 176.9 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7789, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7789, allocations: 4 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.7789, allocations: 4 kB / 1.356 GB, free: 13.4 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.7791, allocations: 131.2 kB / 1.357 GB, free: 13.26 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.7797, allocations: 367.8 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.7799, allocations: 138 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.78, allocations: 128.2 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.78, allocations: 4 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.7802, allocations: 238.3 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 3.066e-06/0.7802, allocations: 0 / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0005843/0.7808, allocations: 487.5 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.7809, allocations: 162.2 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.7811, allocations: 183.5 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.7811, allocations: 33.7 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.7811, allocations: 108.4 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7812, allocations: 19.86 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.7812, allocations: 41.69 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7813, allocations: 326.8 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.7817, allocations: 166.8 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.7818, allocations: 217.6 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.7821, allocations: 313 kB / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7821, allocations: 0 / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004319/0.7825, allocations: 462.9 kB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.663e-05/0.7826, allocations: 114.8 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7826, allocations: 4 kB / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7826, allocations: 0 / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7827, allocations: 28.17 kB / 1.36 GB, free: 9.344 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7827, allocations: 4 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.7828, allocations: 19.88 kB / 1.36 GB, free: 9.32 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.7828, allocations: 8 kB / 1.36 GB, free: 9.312 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001499/0.783, allocations: 199.8 kB / 1.36 GB, free: 9.098 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.783, allocations: 19.84 kB / 1.36 GB, free: 9.078 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.783, allocations: 17.39 kB / 1.36 GB, free: 9.051 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.7831, allocations: 4.281 kB / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7831, allocations: 0 / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7831, allocations: 0 / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.7836, allocations: 0.6133 MB / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7836, allocations: 0 / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.7837, allocations: 15.98 kB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7837, allocations: 0 / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7837, allocations: 8 kB / 1.361 GB, free: 8.336 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7837, allocations: 3.984 kB / 1.361 GB, free: 8.332 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7837, allocations: 7.922 kB / 1.361 GB, free: 8.324 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.7841, allocations: 470.1 kB / 1.361 GB, free: 7.824 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.7841, allocations: 19.89 kB / 1.361 GB, free: 7.805 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.7841, allocations: 4 kB / 1.361 GB, free: 7.801 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.7842, allocations: 8 kB / 1.361 GB, free: 7.793 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.7842, allocations: 11.92 kB / 1.361 GB, free: 7.781 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.7843, allocations: 8 kB / 1.361 GB, free: 7.773 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.861e-05/0.7843, allocations: 134.3 kB / 1.361 GB, free: 7.645 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7843, allocations: 0 / 1.361 GB, free: 7.645 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002266/0.7846, allocations: 36 kB / 1.362 GB, free: 7.609 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0007414/0.7853, allocations: 1.027 MB / 1.363 GB, free: 6.539 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.7857, allocations: 0.5157 MB / 1.363 GB, free: 5.938 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7857, allocations: 64 / 1.363 GB, free: 5.938 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.7859, allocations: 246.1 kB / 1.363 GB, free: 5.66 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.7861, allocations: 31.61 kB / 1.363 GB, free: 5.629 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.7883, allocations: 2.621 MB / 1.366 GB, free: 2.754 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.7884, allocations: 97.05 kB / 1.366 GB, free: 2.641 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.915e-05/0.7884, allocations: 20.47 kB / 1.366 GB, free: 2.621 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.7885, allocations: 35.42 kB / 1.366 GB, free: 2.586 MB / 1.042 GB Notification: Performance of SimCode: time 1.042e-06/0.7885, allocations: 0 / 1.366 GB, free: 2.586 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08569/0.8742, allocations: 4.347 MB / 1.37 GB, free: 14.42 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.13/8.005, allocations: 8.797 kB / 1.37 GB, free: 14.42 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVWriter.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVWriter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.021110901609063]