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.0009073/0.0009073, 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.0009531/0.0009531, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8734/0.8734, allocations: 177.1 MB / 202.8 MB, free: 5.551 MB / 186.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.7387/0.7387, allocations: 154.5 MB / 413.7 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.202e-05, allocations: 5.375 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00224/0.002262, allocations: 1.683 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004146, allocations: 1.726 MB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.00425, allocations: 0 / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.004567, allocations: 43.64 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.004991, allocations: 107.4 kB / 0.6215 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.005254, allocations: 99.52 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.005447, allocations: 143.5 kB / 0.6217 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.005493, allocations: 9.641 kB / 0.6217 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.005674, allocations: 83.69 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.005794, allocations: 43.88 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.005813, allocations: 8 kB / 0.6219 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.005989, allocations: 111.8 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.006042, allocations: 27.84 kB / 0.622 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.006086, allocations: 27.92 kB / 0.622 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.006357, allocations: 219.2 kB / 0.6222 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006359, allocations: 0 / 0.6222 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.006361, allocations: 0 / 0.6222 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.006365, allocations: 4 kB / 0.6222 GB, free: 9.363 MB / 0.5886 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.000535/0.0069, allocations: 399.6 kB / 0.6226 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.006942, allocations: 9.469 kB / 0.6226 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.006978, allocations: 38.73 kB / 0.6227 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.007114, allocations: 16.84 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.007399, allocations: 166.4 kB / 0.6229 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.007414, allocations: 4.375 kB / 0.6229 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.007426, allocations: 4.359 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.007626, allocations: 139 kB / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.007634, allocations: 0 / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.007645, allocations: 0 / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00765, allocations: 0 / 0.623 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.00778, allocations: 59.89 kB / 0.623 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.007978, allocations: 174.6 kB / 0.6232 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.008166, allocations: 115.8 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.913e-05/0.008235, allocations: 50.61 kB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.008251, allocations: 0 / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.00841, allocations: 125.7 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.008411, allocations: 0 / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.000323/0.008734, allocations: 173.7 kB / 0.6237 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.008801, allocations: 132.5 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.008948, allocations: 204.3 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.008961, allocations: 25.7 kB / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.009009, allocations: 112.1 kB / 0.6241 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.009043, allocations: 23.84 kB / 0.6241 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.009078, allocations: 29.64 kB / 0.6242 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.009161, allocations: 326.8 kB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.009226, allocations: 31.98 kB / 0.6245 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.009307, allocations: 97.98 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.009436, allocations: 91.59 kB / 0.6247 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.009441, allocations: 8 kB / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.009624, allocations: 145.5 kB / 0.6248 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009638, allocations: 8 kB / 0.6248 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.009643, allocations: 4 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.009656, allocations: 0 / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.009747, allocations: 23.92 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.009754, allocations: 0 / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.009803, allocations: 19.92 kB / 0.6249 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.009812, allocations: 4 kB / 0.6249 GB, free: 6.355 MB / 0.5886 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.199e-05/0.009894, allocations: 122.8 kB / 0.625 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.009917, allocations: 19.84 kB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.01009, allocations: 131 kB / 0.6252 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0101, allocations: 4 kB / 0.6252 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.0101, allocations: 0 / 0.6252 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.01011, allocations: 3.984 kB / 0.6252 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.01026, allocations: 172.7 kB / 0.6253 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01026, allocations: 0 / 0.6253 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.01031, allocations: 19.98 kB / 0.6253 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01031, allocations: 3.938 kB / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.01032, allocations: 4 kB / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01032, allocations: 0 / 0.6253 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01032, allocations: 4 kB / 0.6254 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.01052, allocations: 186.8 kB / 0.6255 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01054, allocations: 15.89 kB / 0.6255 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01056, allocations: 4 kB / 0.6256 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.0106, allocations: 7.984 kB / 0.6256 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.01064, allocations: 11.98 kB / 0.6256 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01065, allocations: 4 kB / 0.6256 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.672e-05/0.01075, allocations: 152 kB / 0.6257 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01075, allocations: 4 kB / 0.6257 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002136/0.01096, allocations: 55.81 kB / 0.6258 GB, free: 5.363 MB / 0.5886 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.001219/0.01218, allocations: 1.143 MB / 0.6269 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.01238, allocations: 91.86 kB / 0.627 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01238, allocations: 0 / 0.627 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.01246, allocations: 56.08 kB / 0.627 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01267, allocations: 33.34 kB / 0.6271 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.01434, allocations: 1.776 MB / 0.6288 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.531e-05/0.0144, allocations: 93.31 kB / 0.6289 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.933e-05/0.01447, allocations: 16.64 kB / 0.6289 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.01455, allocations: 48.47 kB / 0.629 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.01455, allocations: 0 / 0.629 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.03773, allocations: 5.302 MB / 0.6341 GB, free: 13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.3, allocations: 3.703 kB / 0.6341 GB, free: 13 MB / 0.6042 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: 9.943829297088087] Failed to read output from testmodel.py, exit status != 0: 7.398500374518335 7.409256243 7.400481957 Calling exit ...