Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001221/0.001221, allocations: 76.5 kB / 19.92 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.001618/0.001618, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.9185/0.9185, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5577/0.5577, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.226e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002337/0.00236, allocations: 1.677 MB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.004, allocations: 1.73 MB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.00408, allocations: 4 kB / 0.5575 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.00434, allocations: 35.72 kB / 0.5575 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.004651, allocations: 115.4 kB / 0.5577 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.004827, allocations: 91.58 kB / 0.5577 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.005008, allocations: 151.4 kB / 0.5579 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.005048, allocations: 5.641 kB / 0.5579 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.00521, allocations: 83.69 kB / 0.558 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.005313, allocations: 43.88 kB / 0.558 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.005331, allocations: 8 kB / 0.558 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.005479, allocations: 111.8 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.005529, allocations: 23.91 kB / 0.5581 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.005569, allocations: 27.92 kB / 0.5582 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.00581, allocations: 215.3 kB / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005812, allocations: 0 / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005812, allocations: 0 / 0.5584 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005816, allocations: 0 / 0.5584 GB, free: 14.46 MB / 0.5261 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.0006224/0.006439, allocations: 405 kB / 0.5588 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.006475, allocations: 12.56 kB / 0.5588 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.006504, allocations: 30.75 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.006616, allocations: 28.83 kB / 0.5588 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.006837, allocations: 166.4 kB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.006849, allocations: 4.375 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.006859, allocations: 4.375 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.00703, allocations: 135 kB / 0.5591 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.007039, allocations: 0 / 0.5591 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.007049, allocations: 0 / 0.5591 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007054, allocations: 3.984 kB / 0.5591 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.007164, allocations: 51.95 kB / 0.5592 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.007329, allocations: 190.5 kB / 0.5594 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.007493, allocations: 115.8 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.007557, allocations: 46.62 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.007572, allocations: 0 / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.007717, allocations: 117.8 kB / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.007718, allocations: 0 / 0.5596 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003045/0.008022, allocations: 177.4 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.008071, allocations: 132.5 kB / 0.5599 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.008215, allocations: 199.2 kB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.008229, allocations: 29.7 kB / 0.5601 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.008272, allocations: 108.1 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.008304, allocations: 27.78 kB / 0.5603 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.008336, allocations: 21.72 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.008411, allocations: 323.1 kB / 0.5606 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.008471, allocations: 39.97 kB / 0.5606 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.008546, allocations: 97.91 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.008669, allocations: 95.33 kB / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008671, allocations: 0 / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.008845, allocations: 149.5 kB / 0.561 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008857, allocations: 4 kB / 0.561 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.008862, allocations: 0 / 0.561 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.008874, allocations: 4 kB / 0.561 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.008948, allocations: 20.3 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008953, allocations: 3.938 kB / 0.561 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.008998, allocations: 15.94 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.009007, allocations: 20.27 kB / 0.561 GB, free: 11.43 MB / 0.5261 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 6.824e-05/0.009076, allocations: 117.8 kB / 0.5611 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.009094, allocations: 15.83 kB / 0.5612 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.009253, allocations: 127.1 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009255, allocations: 0 / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.00926, allocations: 4 kB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.009263, allocations: 0 / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.00938, allocations: 176.6 kB / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009381, allocations: 0 / 0.5615 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.009422, allocations: 19.92 kB / 0.5615 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.009425, allocations: 11.94 kB / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.009433, allocations: 0 / 0.5615 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.009436, allocations: 7.984 kB / 0.5615 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.009436, allocations: 0 / 0.5615 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.009619, allocations: 178.6 kB / 0.5617 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.009638, allocations: 15.84 kB / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.009658, allocations: 7.984 kB / 0.5617 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.009697, allocations: 11.94 kB / 0.5617 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.009739, allocations: 15.98 kB / 0.5617 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.009754, allocations: 7.984 kB / 0.5617 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.924e-05/0.009843, allocations: 145.2 kB / 0.5619 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.009843, allocations: 0 / 0.5619 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001976/0.01004, allocations: 47.88 kB / 0.5619 GB, free: 10.45 MB / 0.5261 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.00118/0.01122, allocations: 1.162 MB / 0.563 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.01141, allocations: 95.88 kB / 0.5631 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01141, allocations: 0 / 0.5631 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.01149, allocations: 47.91 kB / 0.5632 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.01168, allocations: 29.94 kB / 0.5632 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.01308, allocations: 1.766 MB / 0.5649 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.01314, allocations: 109.1 kB / 0.565 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.863e-05/0.01319, allocations: 24.56 kB / 0.5651 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.01326, allocations: 48.48 kB / 0.5651 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01326, allocations: 0 / 0.5651 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.03314, allocations: 5.296 MB / 0.5703 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.269, allocations: 7.812 kB / 0.5703 GB, free: 2.062 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.79588043037802] Failed to read output from testmodel.py, exit status != 0: 7.37004329264164 7.382250492 7.373944077 Calling exit ...