Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008199/0.0008199, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008858/0.0008858, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8245/0.8245, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009392/0.0009392, allocations: 60.44 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5287, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002355/0.531, allocations: 1.73 MB / 0.8195 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.533, allocations: 1.79 MB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.5331, allocations: 5.344 kB / 0.8213 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.5334, allocations: 41.12 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.5337, allocations: 110.9 kB / 0.8214 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.5339, allocations: 92.06 kB / 0.8215 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.5341, allocations: 142.1 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.5341, allocations: 9.766 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.5343, allocations: 75.8 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.5345, allocations: 58.02 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.5345, allocations: 6.375 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.5347, allocations: 120 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.5347, allocations: 26.97 kB / 0.822 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.5348, allocations: 48.88 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.5351, allocations: 201.8 kB / 0.8222 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5351, allocations: 5.156 kB / 0.8222 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5351, allocations: 0 / 0.8222 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5351, allocations: 3.938 kB / 0.8222 GB, free: 14.35 MB / 0.6198 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.0005716/0.5357, allocations: 394.5 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.5357, allocations: 9.25 kB / 0.8226 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.5358, allocations: 37.02 kB / 0.8226 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.5359, allocations: 24.69 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.5362, allocations: 168.2 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5362, allocations: 5.688 kB / 0.8228 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.5362, allocations: 7.359 kB / 0.8228 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.5364, allocations: 99.5 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5364, allocations: 4 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5364, allocations: 1.469 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5364, allocations: 1.344 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.5365, allocations: 53.11 kB / 0.823 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.5368, allocations: 183.5 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.537, allocations: 121.6 kB / 0.8233 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.5371, allocations: 46.58 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.5371, allocations: 5.688 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.5373, allocations: 117.5 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.983e-06/0.5373, allocations: 0 / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003943/0.5377, allocations: 163.8 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.5378, allocations: 135.9 kB / 0.8237 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.538, allocations: 194.5 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.538, allocations: 28.27 kB / 0.8239 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.5381, allocations: 104.9 kB / 0.824 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.5381, allocations: 26.02 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.5382, allocations: 22.84 kB / 0.8241 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5383, allocations: 330.8 kB / 0.8244 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.5384, allocations: 38.08 kB / 0.8244 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.5384, allocations: 59.31 kB / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.5386, allocations: 98.08 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5386, allocations: 5.344 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.5388, allocations: 137.2 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5388, allocations: 6.125 kB / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5388, allocations: 0 / 0.8247 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.5388, allocations: 7.031 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.5389, allocations: 22.23 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5389, allocations: 5.25 kB / 0.8247 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.539, allocations: 10.47 kB / 0.8248 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.539, allocations: 8.094 kB / 0.8248 GB, free: 12.2 MB / 0.6198 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 8.93e-05/0.5391, allocations: 129 kB / 0.8249 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.5391, allocations: 14.16 kB / 0.8249 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.5393, allocations: 110.2 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5393, allocations: 2.922 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5393, allocations: 1.594 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5393, allocations: 1.656 kB / 0.825 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5394, allocations: 187.2 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5394, allocations: 1.375 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.5395, allocations: 13.89 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5395, allocations: 1.25 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5395, allocations: 1.953 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5395, allocations: 2.422 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.5395, allocations: 5.203 kB / 0.8252 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.5397, allocations: 174.4 kB / 0.8254 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.5398, allocations: 14.23 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.5398, allocations: 3.125 kB / 0.8254 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.5398, allocations: 15.27 kB / 0.8254 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5399, allocations: 7.516 kB / 0.8254 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.5399, allocations: 4.406 kB / 0.8254 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.892e-05/0.54, allocations: 142.1 kB / 0.8256 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.54, allocations: 0 / 0.8256 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000206/0.5402, allocations: 45.53 kB / 0.8256 GB, free: 11.57 MB / 0.6198 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 (8): * Single equations (assignments): 6 * 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.001277/0.5415, allocations: 1.106 MB / 0.8267 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.5417, allocations: 80.42 kB / 0.8268 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5417, allocations: 192 / 0.8268 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.5418, allocations: 45.39 kB / 0.8268 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.542, allocations: 36.2 kB / 0.8268 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.5436, allocations: 1.742 MB / 0.8285 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.5438, allocations: 0.7085 MB / 0.8292 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.524e-05/0.5439, allocations: 21.17 kB / 0.8292 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.5439, allocations: 48.92 kB / 0.8293 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5439, allocations: 1.344 kB / 0.8293 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.5657, allocations: 4.538 MB / 0.8337 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/7.25, allocations: 10.89 kB / 0.8337 GB, free: 7.629 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.261033474933356] Failed to read output from testmodel.py, exit status != 0: 7.353044839110225 7.369517986 6.831138959 Calling exit ...