Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001002/0.001002, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001214/0.001214, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.508 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-535:34: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-535:42: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.7894/0.7894, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 0.5219 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.457e-05, allocations: 7.984 kB / 0.5219 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.005759/0.005783, allocations: 1.652 MB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.006811, allocations: 0.6644 MB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.369e-05/0.006894, allocations: 0 / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.007046, allocations: 19.73 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.01029, allocations: 52.72 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.0107, allocations: 123.6 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.01096, allocations: 192.2 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.01106, allocations: 17.62 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.01131, allocations: 117.1 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.01142, allocations: 75.8 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.01145, allocations: 12 kB / 0.5247 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.01153, allocations: 36.64 kB / 0.5248 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.19e-05/0.0116, allocations: 28.78 kB / 0.5248 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.01167, allocations: 55.89 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.01188, allocations: 148.1 kB / 0.525 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01188, allocations: 0 / 0.525 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01189, allocations: 0.8438 kB / 0.525 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.01189, allocations: 0 / 0.525 GB, free: 14.4 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.0005593/0.01245, allocations: 0.5906 MB / 0.5256 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01248, allocations: 8.031 kB / 0.5256 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.01264, allocations: 36.83 kB / 0.5256 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.01287, allocations: 180.3 kB / 0.5258 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01288, allocations: 13.44 kB / 0.5258 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.01291, allocations: 12.38 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.01611, allocations: 155.7 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01612, allocations: 4.172 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01614, allocations: 4.359 kB / 0.526 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.01615, allocations: 7.938 kB / 0.526 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.01623, allocations: 88.12 kB / 0.526 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.01669, allocations: 357.7 kB / 0.5264 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.01682, allocations: 114.5 kB / 0.5265 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.0169, allocations: 99.2 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01692, allocations: 4.531 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.01711, allocations: 216.7 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.01711, allocations: 0 / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004836/0.01759, allocations: 403.8 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.0177, allocations: 159 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.01785, allocations: 231.2 kB / 0.5276 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01787, allocations: 34.33 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.01794, allocations: 159.1 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.01797, allocations: 20.48 kB / 0.5278 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.01805, allocations: 52.47 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.01825, allocations: 0.4962 MB / 0.5283 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.01834, allocations: 134.7 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.01847, allocations: 215 kB / 0.5286 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.01864, allocations: 286 kB / 0.5289 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01865, allocations: 0 / 0.5289 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.003371/0.02202, allocations: 407 kB / 0.5293 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.02208, allocations: 128.1 kB / 0.5294 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02209, allocations: 4 kB / 0.5294 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.0221, allocations: 4 kB / 0.5294 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.02219, allocations: 17.02 kB / 0.5294 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.02219, allocations: 0 / 0.5294 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.02227, allocations: 15.89 kB / 0.5295 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.02229, allocations: 13.12 kB / 0.5295 GB, free: 9.234 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.0001343/0.02242, allocations: 235.2 kB / 0.5297 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.02246, allocations: 35.08 kB / 0.5297 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.02249, allocations: 13.47 kB / 0.5297 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02249, allocations: 4 kB / 0.5297 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.0225, allocations: 0 / 0.5297 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.0225, allocations: 0 / 0.5297 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.02309, allocations: 0.5475 MB / 0.5303 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02309, allocations: 0 / 0.5303 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.02314, allocations: 8 kB / 0.5303 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.02315, allocations: 3.938 kB / 0.5303 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.02316, allocations: 18.95 kB / 0.5303 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.02316, allocations: 0 / 0.5303 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02316, allocations: 0 / 0.5303 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.02353, allocations: 466.5 kB / 0.5307 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.02354, allocations: 19.84 kB / 0.5308 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.02357, allocations: 7.984 kB / 0.5308 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.02365, allocations: 4 kB / 0.5308 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.02369, allocations: 11.98 kB / 0.5308 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.0237, allocations: 5.406 kB / 0.5308 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.879e-05/0.02378, allocations: 173.6 kB / 0.531 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02378, allocations: 0 / 0.531 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002913/0.02407, allocations: 35.94 kB / 0.531 GB, free: 7.555 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.0002012/0.02427, allocations: 122.2 kB / 0.5311 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.02459, allocations: 489.3 kB / 0.5316 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02459, allocations: 0 / 0.5316 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.02474, allocations: 230.8 kB / 0.5318 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.02496, allocations: 32.98 kB / 0.5318 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.0255, allocations: 342.2 kB / 0.5322 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.02553, allocations: 71.34 kB / 0.5322 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.698e-05/0.02557, allocations: 14.36 kB / 0.5322 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.02569, allocations: 114.2 kB / 0.5323 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.02569, allocations: 0 / 0.5323 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of Templates: time 0.004297/0.02999, allocations: 2.422 MB / 0.5347 GB, free: 3.738 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8865860048681498]