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.0008036/0.0008036, 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.0007961/0.0007961, 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.9221/0.9221, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7192/0.7192, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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 2.114e-06/2.114e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.579e-05, allocations: 5.375 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003071/0.003097, allocations: 1.687 MB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.005462, allocations: 1.73 MB / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.005561, allocations: 0 / 0.6214 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.005878, allocations: 31.72 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.006269, allocations: 123.3 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.006511, allocations: 99.52 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.006692, allocations: 135.5 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.006735, allocations: 13.62 kB / 0.6218 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.006914, allocations: 79.77 kB / 0.6218 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.007022, allocations: 51.81 kB / 0.6219 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.007038, allocations: 4 kB / 0.6219 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.00717, allocations: 107.8 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.007218, allocations: 39.83 kB / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.007255, allocations: 23.94 kB / 0.622 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.007513, allocations: 211.3 kB / 0.6222 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007515, allocations: 0 / 0.6222 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.265e-06/0.007518, allocations: 7.984 kB / 0.6223 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.007521, allocations: 0 / 0.6223 GB, free: 9.375 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.0004652/0.007987, allocations: 389.1 kB / 0.6226 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.008023, allocations: 9.469 kB / 0.6226 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.008052, allocations: 42.73 kB / 0.6227 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.008166, allocations: 20.84 kB / 0.6227 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.00837, allocations: 162.4 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.008382, allocations: 4.375 kB / 0.6229 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.008394, allocations: 4.375 kB / 0.6229 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.008568, allocations: 135 kB / 0.623 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.008576, allocations: 3.984 kB / 0.623 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.008586, allocations: 0 / 0.623 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.008591, allocations: 4 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.008703, allocations: 51.95 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.008909, allocations: 178.5 kB / 0.6232 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.009075, allocations: 111.8 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.906e-05/0.009144, allocations: 54.55 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.009158, allocations: 0 / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.009293, allocations: 117.9 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 7.21e-07/0.009294, allocations: 4 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.009593, allocations: 173.4 kB / 0.6237 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.00964, allocations: 132.5 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.009777, allocations: 204.3 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.00979, allocations: 29.64 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.009832, allocations: 104.1 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.00986, allocations: 27.78 kB / 0.6241 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.009894, allocations: 29.95 kB / 0.6242 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.009964, allocations: 322.8 kB / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.01002, allocations: 31.98 kB / 0.6245 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.01009, allocations: 97.91 kB / 0.6246 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.01028, allocations: 95.64 kB / 0.6247 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01028, allocations: 11.97 kB / 0.6247 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.01045, allocations: 145.4 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.01046, allocations: 8 kB / 0.6248 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.01046, allocations: 0 / 0.6248 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.01047, allocations: 0 / 0.6248 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.01054, allocations: 19.98 kB / 0.6249 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01055, allocations: 7.938 kB / 0.6249 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.01059, allocations: 12.08 kB / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.0106, allocations: 4 kB / 0.6249 GB, free: 6.379 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 7.157e-05/0.01067, allocations: 133.3 kB / 0.625 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.01069, allocations: 19.84 kB / 0.625 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.01084, allocations: 123 kB / 0.6251 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01084, allocations: 4 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01085, allocations: 0 / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01085, allocations: 3.984 kB / 0.6252 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.01096, allocations: 172.7 kB / 0.6253 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01096, allocations: 4 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.011, allocations: 23.92 kB / 0.6253 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.011, allocations: 3.938 kB / 0.6253 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.01101, allocations: 8 kB / 0.6254 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.01101, allocations: 0 / 0.6254 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01101, allocations: 0 / 0.6254 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.01118, allocations: 178.8 kB / 0.6255 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.0112, allocations: 15.88 kB / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.01122, allocations: 8.094 kB / 0.6256 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.01126, allocations: 15.92 kB / 0.6256 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.0113, allocations: 7.984 kB / 0.6256 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.01131, allocations: 4 kB / 0.6256 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.782e-05/0.01139, allocations: 152.1 kB / 0.6257 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01139, allocations: 0 / 0.6257 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001788/0.01157, allocations: 47.86 kB / 0.6258 GB, free: 5.391 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.001043/0.01262, allocations: 1.16 MB / 0.6269 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.01281, allocations: 91.88 kB / 0.627 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01281, allocations: 0 / 0.627 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.01288, allocations: 51.89 kB / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01306, allocations: 30.33 kB / 0.6271 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.01451, allocations: 1.771 MB / 0.6288 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.694e-05/0.01457, allocations: 93.3 kB / 0.6289 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.557e-05/0.01462, allocations: 20.64 kB / 0.6289 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.01469, allocations: 56.41 kB / 0.629 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.01469, allocations: 0 / 0.629 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.03187, allocations: 5.296 MB / 0.6341 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.019, allocations: 0.75 kB / 0.6341 GB, free: 13.02 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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.863632739521563] Failed to read output from testmodel.py, exit status != 0: 7.122708760201931 7.132144661 7.122759677 Calling exit ...