Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.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.001227/0.001227, 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.0009499/0.0009499, allocations: 214.8 kB / 23.02 MB, free: 2.973 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 1.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.026/2.026, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 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.CSVReader,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 76.08 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7593, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002649/0.762, allocations: 1.693 MB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.764, allocations: 1.718 MB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.7641, allocations: 4 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.7644, allocations: 43.7 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.7648, allocations: 107.5 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.765, allocations: 99.64 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.7652, allocations: 139.5 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.7652, allocations: 5.641 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.7655, allocations: 67.72 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.7656, allocations: 59.69 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.7657, allocations: 4 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7658, allocations: 107.9 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.7659, allocations: 27.91 kB / 1.356 GB, free: 13.6 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.7659, allocations: 43.72 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.7662, allocations: 205.3 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7662, allocations: 0 / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7662, allocations: 0 / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7662, allocations: 0 / 1.357 GB, free: 13.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005059/0.7667, allocations: 393.2 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7668, allocations: 8.922 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.7668, allocations: 38.73 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.7669, allocations: 20.89 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.7672, allocations: 167 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7672, allocations: 8.375 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.7672, allocations: 7.922 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.7674, allocations: 126.8 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7674, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.7674, allocations: 0 / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7674, allocations: 4 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.7675, allocations: 55.89 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.7677, allocations: 186.5 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.7679, allocations: 115.7 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.768, allocations: 50.61 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.768, allocations: 4 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.7682, allocations: 121.8 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.7682, allocations: 0 / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0003467/0.7685, allocations: 169.5 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.7686, allocations: 140.5 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.7688, allocations: 200.2 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.7688, allocations: 29.7 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.7688, allocations: 108.4 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.7689, allocations: 27.8 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.7689, allocations: 25.7 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.769, allocations: 322.8 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.7691, allocations: 35.97 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.7692, allocations: 89.97 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.7693, allocations: 107.6 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7693, allocations: 3.938 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.7695, allocations: 133.5 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7695, allocations: 8 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7695, allocations: 3.938 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7696, allocations: 3.938 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.7696, allocations: 20.08 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7697, allocations: 11.98 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.7697, allocations: 8 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7697, allocations: 4 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.851e-05/0.7698, allocations: 132 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.7698, allocations: 15.91 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.77, allocations: 119 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.77, allocations: 4 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.77, allocations: 3.984 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7701, allocations: 3.984 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.7702, allocations: 184.5 kB / 1.36 GB, free: 9.832 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7702, allocations: 4 kB / 1.36 GB, free: 9.828 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.7702, allocations: 15.98 kB / 1.36 GB, free: 9.812 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7702, allocations: 0 / 1.36 GB, free: 9.812 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.7703, allocations: 4 kB / 1.36 GB, free: 9.809 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7703, allocations: 0 / 1.36 GB, free: 9.809 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7703, allocations: 3.938 kB / 1.36 GB, free: 9.805 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.7705, allocations: 194.7 kB / 1.36 GB, free: 9.59 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.7705, allocations: 11.95 kB / 1.36 GB, free: 9.578 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.7705, allocations: 8 kB / 1.36 GB, free: 9.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.7705, allocations: 12.05 kB / 1.36 GB, free: 9.559 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.7706, allocations: 7.984 kB / 1.36 GB, free: 9.551 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.7706, allocations: 8 kB / 1.36 GB, free: 9.543 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.641e-05/0.7707, allocations: 153.1 kB / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7707, allocations: 0 / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002224/0.7709, allocations: 47.86 kB / 1.36 GB, free: 9.348 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001273/0.7722, allocations: 1.155 MB / 1.361 GB, free: 8.383 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.7724, allocations: 87.88 kB / 1.361 GB, free: 8.297 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7724, allocations: 0 / 1.361 GB, free: 8.297 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.7725, allocations: 47.91 kB / 1.361 GB, free: 8.25 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.7727, allocations: 39.66 kB / 1.361 GB, free: 8.211 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.7744, allocations: 1.786 MB / 1.363 GB, free: 6.32 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.7744, allocations: 97.17 kB / 1.363 GB, free: 6.207 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.229e-05/0.7745, allocations: 20.78 kB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.7746, allocations: 47.41 kB / 1.363 GB, free: 6.141 MB / 1.042 GB Notification: Performance of SimCode: time 1.323e-06/0.7746, allocations: 0 / 1.363 GB, free: 6.141 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08971/0.8643, allocations: 5.147 MB / 1.368 GB, free: 1.059 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/8.186, allocations: 9.562 kB / 1.368 GB, free: 1.051 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_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_CSVReader.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.CSVReader_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.204113024286926]