Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.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.001039/0.001039, 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.001266/0.001266, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9127/0.9127, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7566/0.7566, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.6181 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.825e-05, allocations: 5.719 kB / 0.6181 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003538/0.003566, allocations: 1.618 MB / 0.6197 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.004426, allocations: 0.6503 MB / 0.6203 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.004532, allocations: 7.938 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.004679, allocations: 27.72 kB / 0.6203 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.004875, allocations: 43.75 kB / 0.6204 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.00516, allocations: 131.6 kB / 0.6205 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.005362, allocations: 187.5 kB / 0.6207 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.005475, allocations: 25.56 kB / 0.6207 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.005659, allocations: 107.8 kB / 0.6208 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.005755, allocations: 71.84 kB / 0.6209 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.005781, allocations: 12 kB / 0.6209 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 7.141e-05/0.005852, allocations: 39.91 kB / 0.6209 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.005926, allocations: 27.86 kB / 0.6209 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.005986, allocations: 55.89 kB / 0.621 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.006208, allocations: 195.5 kB / 0.6212 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006211, allocations: 0 / 0.6212 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006213, allocations: 4 kB / 0.6212 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006217, allocations: 0 / 0.6212 GB, free: 9.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005361/0.006753, allocations: 0.4886 MB / 0.6217 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.006794, allocations: 8.031 kB / 0.6217 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.006826, allocations: 42.69 kB / 0.6217 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.006946, allocations: 28.88 kB / 0.6217 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.00725, allocations: 181.6 kB / 0.6219 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.007264, allocations: 8.375 kB / 0.6219 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.007284, allocations: 16.38 kB / 0.6219 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.00751, allocations: 173.6 kB / 0.6221 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007521, allocations: 4.125 kB / 0.6221 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.007534, allocations: 3.938 kB / 0.6221 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007541, allocations: 4 kB / 0.6221 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.007678, allocations: 123.3 kB / 0.6222 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.008149, allocations: 355.8 kB / 0.6226 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.0083, allocations: 153.8 kB / 0.6227 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.008411, allocations: 120.2 kB / 0.6228 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.008434, allocations: 4 kB / 0.6228 GB, free: 7.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.00863, allocations: 234.1 kB / 0.6231 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.008632, allocations: 3.938 kB / 0.6231 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0005316/0.009163, allocations: 483.7 kB / 0.6235 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.009244, allocations: 166.2 kB / 0.6237 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.009386, allocations: 172.2 kB / 0.6238 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009407, allocations: 33.7 kB / 0.6239 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.009472, allocations: 116.2 kB / 0.624 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.009494, allocations: 27.98 kB / 0.624 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.009545, allocations: 37.7 kB / 0.6241 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.009636, allocations: 326.8 kB / 0.6244 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.009759, allocations: 162.8 kB / 0.6245 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.009901, allocations: 209.6 kB / 0.6247 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01012, allocations: 324.8 kB / 0.625 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01013, allocations: 0 / 0.625 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003768/0.0105, allocations: 466.9 kB / 0.6255 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.01056, allocations: 121 kB / 0.6256 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01057, allocations: 0 / 0.6256 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01058, allocations: 4 kB / 0.6256 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.01067, allocations: 19.92 kB / 0.6256 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.01068, allocations: 8.25 kB / 0.6256 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.01073, allocations: 19.89 kB / 0.6256 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01075, allocations: 15.98 kB / 0.6257 GB, free: 4.242 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001257/0.01087, allocations: 202.1 kB / 0.6258 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.01089, allocations: 15.91 kB / 0.6259 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.01092, allocations: 13.47 kB / 0.6259 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01092, allocations: 4 kB / 0.6259 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.01093, allocations: 0 / 0.6259 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01094, allocations: 3.984 kB / 0.6259 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.01143, allocations: 0.6057 MB / 0.6265 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01143, allocations: 0 / 0.6265 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.01146, allocations: 8.281 kB / 0.6265 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01147, allocations: 0 / 0.6265 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.01148, allocations: 11.98 kB / 0.6265 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01149, allocations: 3.938 kB / 0.6265 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01149, allocations: 0 / 0.6265 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.01184, allocations: 474 kB / 0.6269 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.01186, allocations: 15.84 kB / 0.627 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.01188, allocations: 8 kB / 0.627 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.01194, allocations: 15.92 kB / 0.627 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.01198, allocations: 4 kB / 0.627 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.01199, allocations: 11.98 kB / 0.627 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.01207, allocations: 134 kB / 0.6271 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.01207, allocations: 0 / 0.6271 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002216/0.01229, allocations: 39.92 kB / 0.6272 GB, free: 2.559 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * 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: 2 * 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 Backend phase and start with SimCode phase: time 0.0007026/0.01299, allocations: 1.02 MB / 0.6282 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.01339, allocations: 0.523 MB / 0.6287 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0134, allocations: 0 / 0.6287 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.01356, allocations: 242.6 kB / 0.6289 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.01378, allocations: 23.98 kB / 0.6289 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.01573, allocations: 2.617 MB / 0.6315 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.01579, allocations: 93.31 kB / 0.6316 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.01585, allocations: 20.47 kB / 0.6316 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.01591, allocations: 40.48 kB / 0.6316 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.01591, allocations: 0 / 0.6316 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.0369, allocations: 4.463 MB / 0.636 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.155, allocations: 4 kB / 0.636 GB, free: 9.285 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter_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_CSVWriter.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.228705736808479] Failed to read output from testmodel.py, exit status != 0: 7.236647478304803 7.518635883 7.51001725 Calling exit ...