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.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.0008451/0.0008451, 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.0009664/0.0009664, allocations: 170.3 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.8826/0.8826, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6966/0.6966, allocations: 154.6 MB / 413.8 MB, free: 0.7773 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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 2.104e-06/2.104e-06, allocations: 4 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.417e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002227/0.002241, allocations: 1.69 MB / 0.6197 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.003978, allocations: 1.73 MB / 0.6214 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.00407, allocations: 0 / 0.6214 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.004356, allocations: 43.66 kB / 0.6215 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.004644, allocations: 111.4 kB / 0.6216 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.004811, allocations: 99.52 kB / 0.6217 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.005015, allocations: 139.5 kB / 0.6218 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.005064, allocations: 13.61 kB / 0.6218 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.005223, allocations: 75.77 kB / 0.6219 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.005362, allocations: 43.88 kB / 0.6219 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.005381, allocations: 8 kB / 0.6219 GB, free: 8.602 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.005518, allocations: 111.8 kB / 0.622 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.005572, allocations: 35.89 kB / 0.6221 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.005616, allocations: 27.88 kB / 0.6221 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.00587, allocations: 211.3 kB / 0.6223 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005872, allocations: 0 / 0.6223 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005873, allocations: 0 / 0.6223 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.005878, allocations: 7.922 kB / 0.6223 GB, free: 8.215 MB / 0.5417 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.000552/0.00643, allocations: 389.2 kB / 0.6227 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.006471, allocations: 12.03 kB / 0.6227 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.006505, allocations: 34.73 kB / 0.6227 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.006627, allocations: 20.89 kB / 0.6227 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.006847, allocations: 166.4 kB / 0.6229 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.006858, allocations: 384 / 0.6229 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.00687, allocations: 4.375 kB / 0.6229 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.007048, allocations: 131 kB / 0.623 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007057, allocations: 3.984 kB / 0.623 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.007068, allocations: 4 kB / 0.623 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.007073, allocations: 0 / 0.623 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.007199, allocations: 59.89 kB / 0.6231 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.007381, allocations: 178.5 kB / 0.6233 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.007556, allocations: 119.7 kB / 0.6234 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.007622, allocations: 46.61 kB / 0.6234 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.00764, allocations: 4 kB / 0.6234 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.007797, allocations: 121.8 kB / 0.6235 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.007798, allocations: 4 kB / 0.6235 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0003133/0.008111, allocations: 169.5 kB / 0.6237 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.008176, allocations: 140.5 kB / 0.6238 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.008324, allocations: 196.7 kB / 0.624 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.008339, allocations: 33.64 kB / 0.6241 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.008388, allocations: 104.1 kB / 0.6242 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.008421, allocations: 27.78 kB / 0.6242 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.008456, allocations: 29.95 kB / 0.6242 GB, free: 6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.00855, allocations: 326.8 kB / 0.6245 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.008611, allocations: 27.98 kB / 0.6246 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.008686, allocations: 89.97 kB / 0.6246 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.008812, allocations: 103.3 kB / 0.6247 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.008815, allocations: 4.031 kB / 0.6247 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.008983, allocations: 137.4 kB / 0.6249 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.008998, allocations: 10.66 kB / 0.6249 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009002, allocations: 0 / 0.6249 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.009014, allocations: 4 kB / 0.6249 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.009092, allocations: 23.92 kB / 0.6249 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.009097, allocations: 0 / 0.6249 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.009148, allocations: 16.08 kB / 0.6249 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.009155, allocations: 4 kB / 0.6249 GB, free: 5.223 MB / 0.5417 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 7.341e-05/0.009228, allocations: 128.7 kB / 0.6251 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.009247, allocations: 19.84 kB / 0.6251 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.00941, allocations: 131 kB / 0.6252 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009412, allocations: 0 / 0.6252 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009416, allocations: 0 / 0.6252 GB, free: 4.938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.009424, allocations: 11.97 kB / 0.6252 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.009538, allocations: 172.7 kB / 0.6254 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009539, allocations: 320 / 0.6254 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.009577, allocations: 19.98 kB / 0.6254 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.00958, allocations: 7.938 kB / 0.6254 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.00959, allocations: 4 kB / 0.6254 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009591, allocations: 3.938 kB / 0.6254 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009593, allocations: 4 kB / 0.6254 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.00977, allocations: 178.8 kB / 0.6256 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.009791, allocations: 23.88 kB / 0.6256 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.009808, allocations: 0 / 0.6256 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.009843, allocations: 11.98 kB / 0.6256 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.009885, allocations: 15.92 kB / 0.6256 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.009898, allocations: 4 kB / 0.6256 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.812e-05/0.009987, allocations: 157.1 kB / 0.6258 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009987, allocations: 0 / 0.6258 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001892/0.01018, allocations: 47.86 kB / 0.6258 GB, free: 4.223 MB / 0.5417 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.001223/0.0114, allocations: 1.151 MB / 0.627 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.0116, allocations: 91.88 kB / 0.627 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01161, allocations: 0 / 0.627 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.01168, allocations: 47.91 kB / 0.6271 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.01187, allocations: 31.36 kB / 0.6271 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.01327, allocations: 1.774 MB / 0.6288 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01333, allocations: 93.3 kB / 0.6289 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.01339, allocations: 20.64 kB / 0.629 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.01345, allocations: 48.47 kB / 0.629 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.01345, allocations: 0 / 0.629 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.03, allocations: 5.298 MB / 0.6342 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.427, allocations: 5.562 kB / 0.6342 GB, free: 11.88 MB / 0.5573 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 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: 10.38650671672076] Failed to read output from testmodel.py, exit status != 0: 7.530813651159406 7.79317507 7.784592885 Calling exit ...