Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008639/0.0008639, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008237/0.0008237, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8151/0.8151, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001439/0.001439, allocations: 229.9 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6351/0.6351, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6463 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.01e-05, allocations: 3.969 kB / 0.6463 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.001975/0.001995, allocations: 1.683 MB / 0.6479 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003475, allocations: 1.725 MB / 0.6496 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.003568, allocations: 3.938 kB / 0.6496 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.003865, allocations: 41.7 kB / 0.6497 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.004204, allocations: 114 kB / 0.6498 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.004405, allocations: 94.8 kB / 0.6499 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.004569, allocations: 138 kB / 0.65 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.916e-05/0.004618, allocations: 9.484 kB / 0.65 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.004796, allocations: 85.7 kB / 0.6501 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004912, allocations: 46.86 kB / 0.6501 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.004933, allocations: 6.812 kB / 0.6501 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.005096, allocations: 114.1 kB / 0.6502 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.005147, allocations: 26.56 kB / 0.6503 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.00519, allocations: 30.86 kB / 0.6503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.005445, allocations: 211.5 kB / 0.6505 GB, free: 26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005448, allocations: 0 / 0.6505 GB, free: 26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.353e-06/0.00545, allocations: 0 / 0.6505 GB, free: 26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.005455, allocations: 1.375 kB / 0.6505 GB, free: 26 MB / 0.5105 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.0004648/0.00592, allocations: 394.2 kB / 0.6509 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.005959, allocations: 10.09 kB / 0.6509 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.005984, allocations: 36.14 kB / 0.6509 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.006109, allocations: 24.7 kB / 0.6509 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.006338, allocations: 173.8 kB / 0.6511 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006351, allocations: 5.484 kB / 0.6511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.006361, allocations: 10.84 kB / 0.6511 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.006524, allocations: 133.9 kB / 0.6513 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.006531, allocations: 4 kB / 0.6513 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.006542, allocations: 1.406 kB / 0.6513 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006547, allocations: 0 / 0.6513 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.006657, allocations: 59.36 kB / 0.6513 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.006802, allocations: 172.2 kB / 0.6515 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.006961, allocations: 113.8 kB / 0.6516 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.007025, allocations: 54.05 kB / 0.6516 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.00704, allocations: 1.344 kB / 0.6516 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.007176, allocations: 115 kB / 0.6518 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.007177, allocations: 0 / 0.6518 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002975/0.007474, allocations: 171.4 kB / 0.6519 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.007504, allocations: 135.3 kB / 0.652 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007625, allocations: 206.5 kB / 0.6522 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.007633, allocations: 27.61 kB / 0.6523 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.007664, allocations: 109.7 kB / 0.6524 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.007693, allocations: 27.91 kB / 0.6524 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.007725, allocations: 25.02 kB / 0.6524 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.79e-05/0.007753, allocations: 326.5 kB / 0.6527 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.007809, allocations: 34.81 kB / 0.6528 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.007872, allocations: 89.09 kB / 0.6529 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.007994, allocations: 105.8 kB / 0.653 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007996, allocations: 1.625 kB / 0.653 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001586/0.008154, allocations: 143.3 kB / 0.6531 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.008167, allocations: 5.094 kB / 0.6531 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008172, allocations: 1.094 kB / 0.6531 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.008184, allocations: 5.281 kB / 0.6531 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.008264, allocations: 24.78 kB / 0.6531 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00827, allocations: 1.312 kB / 0.6531 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.008313, allocations: 10.25 kB / 0.6531 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.00832, allocations: 2.531 kB / 0.6531 GB, free: 23.58 MB / 0.5105 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 5.799e-05/0.008378, allocations: 130.5 kB / 0.6533 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.008397, allocations: 18.62 kB / 0.6533 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.008553, allocations: 120.7 kB / 0.6534 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.008557, allocations: 10.8 kB / 0.6534 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.008561, allocations: 4.125 kB / 0.6534 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.008565, allocations: 1.312 kB / 0.6534 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.008653, allocations: 180.3 kB / 0.6536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.008655, allocations: 1.281 kB / 0.6536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.008697, allocations: 16.42 kB / 0.6536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008699, allocations: 5.25 kB / 0.6536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.008707, allocations: 2.344 kB / 0.6536 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.008709, allocations: 5.25 kB / 0.6536 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.008711, allocations: 1.312 kB / 0.6536 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.008882, allocations: 186.2 kB / 0.6538 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.008899, allocations: 15.95 kB / 0.6538 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.008918, allocations: 6.562 kB / 0.6538 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.008954, allocations: 8.766 kB / 0.6538 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.008992, allocations: 13.33 kB / 0.6538 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.009006, allocations: 4.062 kB / 0.6538 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.071e-05/0.009077, allocations: 149.9 kB / 0.654 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009077, allocations: 1.5 kB / 0.654 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000192/0.009269, allocations: 55.61 kB / 0.654 GB, free: 22.86 MB / 0.5105 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.001057/0.01033, allocations: 1.155 MB / 0.6552 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01052, allocations: 87.72 kB / 0.6552 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01052, allocations: 0 / 0.6552 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.01059, allocations: 51.91 kB / 0.6553 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.0108, allocations: 30.53 kB / 0.6553 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.0121, allocations: 1.771 MB / 0.6571 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.01215, allocations: 96.08 kB / 0.6571 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.244e-05/0.01223, allocations: 24.88 kB / 0.6572 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.01229, allocations: 46.94 kB / 0.6572 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/0.0123, allocations: 1.281 kB / 0.6572 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.02978, allocations: 5.32 MB / 0.6624 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.686, allocations: 6.469 kB / 0.6624 GB, free: 16.96 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.288623389787972] Failed to read output from testmodel.py, exit status != 0: 6.7840537168085575 6.792427402 6.785584507 Calling exit ...