Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 113.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 191.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8487/0.8487, allocations: 133.9 MB / 436.6 MB, free: 13.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.6051 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3997, allocations: 84.68 MB / 0.6878 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002663/0.4024, allocations: 1.677 MB / 0.6894 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4044, allocations: 1.519 MB / 0.6909 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.4044, allocations: 1.062 kB / 0.6909 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.4047, allocations: 40.95 kB / 0.6909 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.4049, allocations: 66.47 kB / 0.691 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.4052, allocations: 117.5 kB / 0.6911 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.4054, allocations: 130.5 kB / 0.6912 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.4055, allocations: 8.391 kB / 0.6913 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4056, allocations: 60.98 kB / 0.6913 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4058, allocations: 49.64 kB / 0.6914 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.4058, allocations: 5.812 kB / 0.6914 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.4059, allocations: 62.12 kB / 0.6914 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.406, allocations: 21.33 kB / 0.6914 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.406, allocations: 49.81 kB / 0.6915 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.4063, allocations: 150.3 kB / 0.6916 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4063, allocations: 0 / 0.6916 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4063, allocations: 0 / 0.6916 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.4063, allocations: 1.406 kB / 0.6916 GB, free: 14.82 MB / 0.5137 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.0006635/0.4069, allocations: 442.8 kB / 0.6921 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.407, allocations: 12.69 kB / 0.6921 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.407, allocations: 32.81 kB / 0.6921 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.4071, allocations: 17.69 kB / 0.6921 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.4074, allocations: 230.5 kB / 0.6923 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4074, allocations: 2.531 kB / 0.6923 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4074, allocations: 5.562 kB / 0.6923 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.4076, allocations: 101.1 kB / 0.6924 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4076, allocations: 0 / 0.6924 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4076, allocations: 1.438 kB / 0.6924 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4076, allocations: 0.75 kB / 0.6924 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.4078, allocations: 60.17 kB / 0.6925 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.4081, allocations: 209.3 kB / 0.6927 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.4083, allocations: 115.8 kB / 0.6928 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4084, allocations: 42.72 kB / 0.6929 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.4085, allocations: 2.25 kB / 0.6929 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.4087, allocations: 116.8 kB / 0.693 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4087, allocations: 0 / 0.693 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004656/0.4092, allocations: 161.8 kB / 0.6931 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.4093, allocations: 130.9 kB / 0.6932 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.4094, allocations: 185.2 kB / 0.6934 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4095, allocations: 26.83 kB / 0.6935 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.4095, allocations: 105.7 kB / 0.6936 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.4096, allocations: 26.89 kB / 0.6936 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.4096, allocations: 21.47 kB / 0.6936 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4097, allocations: 326 kB / 0.6939 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4098, allocations: 32.91 kB / 0.6939 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.41, allocations: 66.58 kB / 0.694 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4102, allocations: 94.84 kB / 0.6941 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4102, allocations: 3.938 kB / 0.6941 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002893/0.4105, allocations: 132.5 kB / 0.6942 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4105, allocations: 5.281 kB / 0.6942 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4105, allocations: 0 / 0.6942 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4105, allocations: 2.312 kB / 0.6942 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.4106, allocations: 23.2 kB / 0.6943 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4106, allocations: 6.406 kB / 0.6943 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.4107, allocations: 17.42 kB / 0.6943 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.4107, allocations: 3.594 kB / 0.6943 GB, free: 12.32 MB / 0.5137 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 0.0001181/0.4108, allocations: 127.6 kB / 0.6944 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.4109, allocations: 18.69 kB / 0.6944 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.4109, allocations: 18.92 kB / 0.6944 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4109, allocations: 1.094 kB / 0.6944 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4109, allocations: 5.125 kB / 0.6944 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4109, allocations: 1.125 kB / 0.6944 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.4111, allocations: 206 kB / 0.6946 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4111, allocations: 1.094 kB / 0.6946 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.4112, allocations: 17.95 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4112, allocations: 1.312 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4112, allocations: 2.188 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4112, allocations: 1.062 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4112, allocations: 1.125 kB / 0.6947 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.4115, allocations: 174.5 kB / 0.6948 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.4116, allocations: 88.64 kB / 0.6949 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4116, allocations: 6.062 kB / 0.6949 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.4117, allocations: 8.594 kB / 0.6949 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.4117, allocations: 12.66 kB / 0.6949 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4118, allocations: 4.312 kB / 0.6949 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4119, allocations: 137.8 kB / 0.6951 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4119, allocations: 3.938 kB / 0.6951 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002424/0.4121, allocations: 31.22 kB / 0.6951 GB, free: 11.55 MB / 0.5137 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002011/0.4141, allocations: 1.042 MB / 0.6961 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4144, allocations: 81.77 kB / 0.6962 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4144, allocations: 1.656 kB / 0.6962 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4145, allocations: 38.34 kB / 0.6962 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4148, allocations: 36.94 kB / 0.6963 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.4169, allocations: 1.713 MB / 0.698 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4172, allocations: 0.7032 MB / 0.6986 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.146e-05/0.4173, allocations: 23.72 kB / 0.6987 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.4174, allocations: 50.41 kB / 0.6987 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.4174, allocations: 0 / 0.6987 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.4443, allocations: 3.874 MB / 0.7025 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.303, allocations: 7.109 kB / 0.7025 GB, free: 6.324 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815878553781658] Failed to read output from testmodel.py, exit status != 0: 8.428372886963189 8.448619897 8.038667691 Calling exit ...