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.002443/0.002443, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 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.002968/0.002968, allocations: 177.2 kB / 22.76 MB, free: 1.656 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 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.381/1.381, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 178] 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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0.6562 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.036e-05, allocations: 6.906 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003399/0.003429, allocations: 1.637 MB / 0.5212 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004822, allocations: 0.6621 MB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.004899, allocations: 4 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.005074, allocations: 20.27 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.005327, allocations: 48.27 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.00581, allocations: 120.6 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.006147, allocations: 191.5 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.006275, allocations: 27.23 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.006706, allocations: 111.8 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.006864, allocations: 75.84 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.006908, allocations: 12.94 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.00701, allocations: 31.98 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.007108, allocations: 31.84 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.007207, allocations: 53.31 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.007553, allocations: 199.3 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.007561, allocations: 4 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.007562, allocations: 1.156 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.007567, allocations: 0 / 0.5227 GB, free: 15.36 MB / 0.4948 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.0009393/0.008506, allocations: 0.5843 MB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.008551, allocations: 12.66 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.008791, allocations: 38.11 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.009155, allocations: 184.5 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.009175, allocations: 5.688 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.009207, allocations: 16.38 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.009539, allocations: 165.5 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.009557, allocations: 0.875 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.00958, allocations: 8.125 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.009583, allocations: 1.844 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.009816, allocations: 123.3 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007313/0.01055, allocations: 399.5 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.01081, allocations: 140.2 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.01101, allocations: 123 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.01104, allocations: 11.94 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003447/0.01139, allocations: 240.4 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.01139, allocations: 1.281 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0009406/0.01233, allocations: 467.6 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.01246, allocations: 166.2 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.01272, allocations: 251.2 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.01276, allocations: 30.73 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.01291, allocations: 163.1 kB / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.01295, allocations: 31.77 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.01305, allocations: 52.58 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002894/0.01334, allocations: 0.5001 MB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.01356, allocations: 154.7 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.01386, allocations: 239.4 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.01427, allocations: 320 kB / 0.527 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01427, allocations: 0 / 0.527 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007333/0.01501, allocations: 465.2 kB / 0.5274 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.01512, allocations: 110.8 kB / 0.5275 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.01513, allocations: 11.97 kB / 0.5276 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01515, allocations: 1.031 kB / 0.5276 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.01527, allocations: 15.94 kB / 0.5276 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01528, allocations: 4 kB / 0.5276 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.01539, allocations: 24.81 kB / 0.5276 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.01542, allocations: 8 kB / 0.5276 GB, free: 9.793 MB / 0.4948 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.0002325/0.01565, allocations: 242.5 kB / 0.5278 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.01571, allocations: 31.84 kB / 0.5279 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.01575, allocations: 13.47 kB / 0.5279 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01575, allocations: 3.984 kB / 0.5279 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01576, allocations: 0 / 0.5279 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01576, allocations: 0 / 0.5279 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.01668, allocations: 0.6328 MB / 0.5285 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01669, allocations: 2.781 kB / 0.5285 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.01675, allocations: 7.984 kB / 0.5285 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01675, allocations: 4 kB / 0.5285 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.01677, allocations: 8 kB / 0.5285 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01677, allocations: 0 / 0.5285 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01677, allocations: 0 / 0.5285 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/0.01766, allocations: 0.5179 MB / 0.529 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.01769, allocations: 17.47 kB / 0.529 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.01773, allocations: 8 kB / 0.5291 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01784, allocations: 8 kB / 0.5291 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.01789, allocations: 3.984 kB / 0.5291 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.01791, allocations: 13.28 kB / 0.5291 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001632/0.01808, allocations: 174.5 kB / 0.5292 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01808, allocations: 0 / 0.5292 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003176/0.01839, allocations: 40.59 kB / 0.5293 GB, free: 7.957 MB / 0.4948 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.0003127/0.01871, allocations: 132.7 kB / 0.5294 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007208/0.01943, allocations: 0.5247 MB / 0.5299 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01943, allocations: 0 / 0.5299 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.01975, allocations: 258.4 kB / 0.5302 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.02009, allocations: 30.78 kB / 0.5302 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.02085, allocations: 357.5 kB / 0.5305 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.02096, allocations: 94.2 kB / 0.5306 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.411e-05/0.02103, allocations: 15.52 kB / 0.5306 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.02108, allocations: 20.48 kB / 0.5307 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.02108, allocations: 0 / 0.5307 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of Templates: time 0.006617/0.0277, allocations: 2.193 MB / 0.5328 GB, free: 4.348 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.074381181970239]