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.0008214/0.0008214, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008068/0.0008068, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8571/0.8571, allocations: 177.1 MB / 203.5 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.001341/0.001341, allocations: 222.2 kB / 260.2 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.6662/0.6662, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.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: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6475 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.718e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.23/0.23, allocations: 1.692 MB / 0.6492 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2316, allocations: 1.725 MB / 0.6508 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.2317, allocations: 5.812 kB / 0.6509 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.232, allocations: 36.64 kB / 0.6509 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.2322, allocations: 115.7 kB / 0.651 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2324, allocations: 93.81 kB / 0.6511 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.2325, allocations: 141.9 kB / 0.6512 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.2326, allocations: 10.86 kB / 0.6512 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.2327, allocations: 81.69 kB / 0.6513 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2328, allocations: 48.27 kB / 0.6514 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.2329, allocations: 7.156 kB / 0.6514 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.233, allocations: 112.3 kB / 0.6515 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.233, allocations: 24.02 kB / 0.6515 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.2331, allocations: 33.81 kB / 0.6515 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2333, allocations: 212.6 kB / 0.6517 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2333, allocations: 0.5156 kB / 0.6517 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2333, allocations: 2.188 kB / 0.6517 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2333, allocations: 1.781 kB / 0.6517 GB, free: 55.53 MB / 0.5573 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.0004321/0.2337, allocations: 393.6 kB / 0.6521 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.2338, allocations: 12.83 kB / 0.6521 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2339, allocations: 19.91 kB / 0.6521 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.2341, allocations: 172 kB / 0.6523 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2341, allocations: 384 / 0.6523 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2341, allocations: 5.203 kB / 0.6523 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2343, allocations: 128.5 kB / 0.6524 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2343, allocations: 4.531 kB / 0.6524 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2343, allocations: 7.469 kB / 0.6524 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2343, allocations: 0.9375 kB / 0.6524 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2344, allocations: 57.81 kB / 0.6525 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.2345, allocations: 155.6 kB / 0.6526 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.2347, allocations: 115.1 kB / 0.6528 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.2348, allocations: 49.73 kB / 0.6528 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2348, allocations: 5.5 kB / 0.6528 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.2349, allocations: 113.8 kB / 0.6529 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.2349, allocations: 0 / 0.6529 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002928/0.2352, allocations: 175.7 kB / 0.6531 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.2352, allocations: 135.2 kB / 0.6532 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2354, allocations: 198 kB / 0.6534 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2354, allocations: 32.89 kB / 0.6534 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.2354, allocations: 104.8 kB / 0.6535 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.2354, allocations: 26.05 kB / 0.6536 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.2354, allocations: 23.64 kB / 0.6536 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.375e-05/0.2355, allocations: 332 kB / 0.6539 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.509e-05/0.2355, allocations: 32.59 kB / 0.6539 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.381e-05/0.2356, allocations: 91.36 kB / 0.654 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2357, allocations: 103 kB / 0.6541 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2357, allocations: 0 / 0.6541 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001551/0.2359, allocations: 138.8 kB / 0.6542 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2359, allocations: 9.25 kB / 0.6543 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2359, allocations: 5.906 kB / 0.6543 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2359, allocations: 0.8906 kB / 0.6543 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.925e-05/0.236, allocations: 21.2 kB / 0.6543 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.236, allocations: 0.7969 kB / 0.6543 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.236, allocations: 13.44 kB / 0.6543 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.236, allocations: 4.5 kB / 0.6543 GB, free: 53.45 MB / 0.5573 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.405e-05/0.2361, allocations: 122.6 kB / 0.6544 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2361, allocations: 23.58 kB / 0.6544 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.2363, allocations: 128.7 kB / 0.6546 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2363, allocations: 3.156 kB / 0.6546 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2363, allocations: 0 / 0.6546 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2363, allocations: 6.938 kB / 0.6546 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.243e-05/0.2363, allocations: 148.3 kB / 0.6547 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2363, allocations: 1.438 kB / 0.6547 GB, free: 53.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.2364, allocations: 23.77 kB / 0.6547 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2364, allocations: 0 / 0.6547 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2364, allocations: 4 kB / 0.6547 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2364, allocations: 6.781 kB / 0.6547 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2364, allocations: 8.938 kB / 0.6548 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.2366, allocations: 180.7 kB / 0.6549 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.582e-05/0.2366, allocations: 9.656 kB / 0.6549 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2366, allocations: 8.812 kB / 0.6549 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.463e-05/0.2366, allocations: 12.03 kB / 0.655 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.2367, allocations: 13.77 kB / 0.655 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2367, allocations: 12.67 kB / 0.655 GB, free: 52.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.2368, allocations: 150 kB / 0.6551 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2368, allocations: 0 / 0.6551 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001769/0.2369, allocations: 52.34 kB / 0.6552 GB, free: 52.85 MB / 0.5573 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.0007689/0.2377, allocations: 0.5254 MB / 0.6557 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.2379, allocations: 94.16 kB / 0.6558 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2379, allocations: 0 / 0.6558 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.238, allocations: 50.64 kB / 0.6558 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.2381, allocations: 37.92 kB / 0.6559 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.2385, allocations: 288.2 kB / 0.6561 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.2385, allocations: 99.09 kB / 0.6562 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.2386, allocations: 22.34 kB / 0.6563 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.2386, allocations: 0 / 0.6563 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.003252/0.2418, allocations: 2.666 MB / 0.6589 GB, free: 52.08 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5589761743322015] Failed to read output from testmodel.py, exit status != 0: 0.24646548554301262 0.252941683 0.018330701 Calling exit ...