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.0009038/0.0009038, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009505/0.0009505, allocations: 169 kB / 23.02 MB, free: 1.547 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.9854/0.9854, allocations: 177.1 MB / 203.4 MB, free: 5.625 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-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 0.7905/0.7905, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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: 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.172e-06/1.172e-06, allocations: 0 / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.796e-05, allocations: 3.312 kB / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002394/0.002412, allocations: 1.659 MB / 0.5219 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.003297, allocations: 0.6762 MB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.003359, allocations: 0 / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.003504, allocations: 24.23 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.003684, allocations: 40.61 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.004, allocations: 128.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.004224, allocations: 191.6 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.004323, allocations: 23.3 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.004518, allocations: 119.8 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.004621, allocations: 71.83 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.004651, allocations: 16 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-05/0.004723, allocations: 27.94 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.004794, allocations: 32.34 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.004863, allocations: 60.92 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.005137, allocations: 151.5 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005139, allocations: 0.9688 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00514, allocations: 0 / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005144, allocations: 0 / 0.5234 GB, free: 15 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.000535/0.005679, allocations: 0.5852 MB / 0.524 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.005714, allocations: 9.25 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.005861, allocations: 40.84 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.00609, allocations: 173.3 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.00611, allocations: 17.91 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.006136, allocations: 12.38 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.006347, allocations: 162.3 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006358, allocations: 8.125 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.006373, allocations: 8.609 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.006381, allocations: 1.5 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.006475, allocations: 95.36 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.006928, allocations: 387.5 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.007048, allocations: 123.2 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.592e-05/0.007144, allocations: 103.2 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.007167, allocations: 8.969 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.007339, allocations: 219.8 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.00734, allocations: 1.125 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0004859/0.007826, allocations: 416.1 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.007888, allocations: 166.2 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.008035, allocations: 229.6 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.008053, allocations: 33.7 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.00812, allocations: 159.1 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.008144, allocations: 23.8 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.008204, allocations: 43.36 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.008462, allocations: 0.5001 MB / 0.5268 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.008557, allocations: 140.4 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.008687, allocations: 212.3 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.008874, allocations: 294.2 kB / 0.5274 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.008877, allocations: 4 kB / 0.5274 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003581/0.009235, allocations: 422.3 kB / 0.5278 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.009291, allocations: 121.5 kB / 0.528 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009296, allocations: 0 / 0.528 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.009311, allocations: 4 kB / 0.528 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.009396, allocations: 23.92 kB / 0.528 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.009403, allocations: 8.062 kB / 0.528 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.009467, allocations: 18.92 kB / 0.528 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.009485, allocations: 8 kB / 0.528 GB, free: 9.715 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.0001104/0.009595, allocations: 239.3 kB / 0.5282 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.009631, allocations: 27.84 kB / 0.5283 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.009663, allocations: 21.45 kB / 0.5283 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.009664, allocations: 0 / 0.5283 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009667, allocations: 0 / 0.5283 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009671, allocations: 5.5 kB / 0.5283 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.01015, allocations: 0.5859 MB / 0.5289 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01015, allocations: 0 / 0.5289 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.01018, allocations: 8 kB / 0.5289 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01019, allocations: 4.562 kB / 0.5289 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.0102, allocations: 12.73 kB / 0.5289 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01021, allocations: 4 kB / 0.5289 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01021, allocations: 3.188 kB / 0.5289 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.01057, allocations: 490.4 kB / 0.5294 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.01058, allocations: 15.84 kB / 0.5294 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.01061, allocations: 8 kB / 0.5294 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.01068, allocations: 4 kB / 0.5294 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.01072, allocations: 7.984 kB / 0.5294 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01074, allocations: 12 kB / 0.5294 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.01082, allocations: 169.6 kB / 0.5296 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01082, allocations: 2.438 kB / 0.5296 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002816/0.0111, allocations: 32 kB / 0.5296 GB, free: 7.965 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.0001796/0.01128, allocations: 132.1 kB / 0.5297 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01162, allocations: 0.4895 MB / 0.5302 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01162, allocations: 0 / 0.5302 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.01177, allocations: 225.9 kB / 0.5304 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.01205, allocations: 30.36 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.01269, allocations: 340.5 kB / 0.5308 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.01273, allocations: 71.33 kB / 0.5309 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.01278, allocations: 18.27 kB / 0.5309 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.01282, allocations: 24.48 kB / 0.5309 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01282, allocations: 0 / 0.5309 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of Templates: time 0.00435/0.01717, allocations: 2.196 MB / 0.533 GB, free: 4.449 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: 3.821509040426463]