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.001062/0.001062, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00136/0.00136, allocations: 181 kB / 23.36 MB, free: 1.129 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.504 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.8647/0.8647, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.433e-06/1.433e-06, allocations: 0 / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.971e-05, allocations: 2.312 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003286/0.003305, allocations: 1.707 MB / 481.7 MB, free: 5.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004507, allocations: 0.6754 MB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.004599, allocations: 3.938 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.004787, allocations: 29.48 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.005015, allocations: 38.39 kB / 482.5 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.005394, allocations: 129.1 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.005683, allocations: 195.3 kB / 482.8 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.005789, allocations: 18.28 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.006038, allocations: 119.7 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.006184, allocations: 72.34 kB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.006212, allocations: 12 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.006291, allocations: 33.5 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.006358, allocations: 35.84 kB / 483.1 MB, free: 3.918 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.006412, allocations: 51.89 kB / 483.1 MB, free: 3.867 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.006589, allocations: 156.2 kB / 483.3 MB, free: 3.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00659, allocations: 0 / 483.3 MB, free: 3.715 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006591, allocations: 1.062 kB / 483.3 MB, free: 3.715 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.006595, allocations: 0 / 483.3 MB, free: 3.715 MB / 442.7 MB 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.0004608/0.007056, allocations: 462.1 kB / 483.7 MB, free: 3.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.007088, allocations: 8.656 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.007363, allocations: 40.28 kB / 483.8 MB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.007571, allocations: 173.5 kB / 484 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.007587, allocations: 12.38 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.007603, allocations: 8.375 kB / 484 MB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007763, allocations: 158.2 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.007772, allocations: 4.125 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.007785, allocations: 8.375 kB / 484.1 MB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007793, allocations: 4.438 kB / 484.1 MB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.979e-05/0.007852, allocations: 87.84 kB / 484.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.008177, allocations: 240.2 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.008268, allocations: 105.9 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.008326, allocations: 92.92 kB / 484.7 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.008341, allocations: 0 / 484.7 MB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.008467, allocations: 210.9 kB / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.008468, allocations: 4.625 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002507/0.008719, allocations: 311.8 kB / 485.2 MB, free: 1.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.008782, allocations: 170.8 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.008883, allocations: 172 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.008898, allocations: 30.33 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.008933, allocations: 92.98 kB / 485.6 MB, free: 1.082 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.008956, allocations: 35.72 kB / 485.7 MB, free: 1.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.009013, allocations: 38.31 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.009099, allocations: 330.8 kB / 486 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.009175, allocations: 134.5 kB / 486.2 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.009271, allocations: 185.6 kB / 486.3 MB, free: 292 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.009411, allocations: 273 kB / 486.6 MB, free: 15.96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.009414, allocations: 0 / 486.6 MB, free: 15.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001934/0.009607, allocations: 354.7 kB / 487 MB, free: 15.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.009932, allocations: 122.7 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.009938, allocations: 5.688 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.009954, allocations: 4 kB / 487.1 MB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.01002, allocations: 15.98 kB / 487.1 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.01002, allocations: 0 / 487.1 MB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.488e-05/0.01006, allocations: 12.56 kB / 487.1 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01008, allocations: 19.88 kB / 487.1 MB, free: 15.36 MB / 458.7 MB 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 8.828e-05/0.01017, allocations: 189.9 kB / 487.3 MB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.01019, allocations: 19.98 kB / 487.3 MB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.01022, allocations: 21.39 kB / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01022, allocations: 4 kB / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.01022, allocations: 1.094 kB / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01022, allocations: 0 / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.01046, allocations: 401.5 kB / 487.8 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01046, allocations: 4.859 kB / 487.8 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/0.01049, allocations: 8 kB / 487.8 MB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01049, allocations: 5.344 kB / 487.8 MB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01051, allocations: 11.98 kB / 487.8 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01051, allocations: 0 / 487.8 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01051, allocations: 0 / 487.8 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01068, allocations: 335 kB / 488.1 MB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.01069, allocations: 7.953 kB / 488.1 MB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01072, allocations: 12.53 kB / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.01076, allocations: 4 kB / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.0108, allocations: 9.422 kB / 488.1 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.01081, allocations: 11.98 kB / 488.2 MB, free: 14.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.01084, allocations: 47.28 kB / 488.2 MB, free: 14.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01084, allocations: 0.9375 kB / 488.2 MB, free: 14.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.011, allocations: 39.89 kB / 488.2 MB, free: 14.13 MB / 458.7 MB 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.0001483/0.01115, allocations: 121.4 kB / 488.4 MB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.01141, allocations: 474.6 kB / 488.8 MB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01141, allocations: 0 / 488.8 MB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01151, allocations: 223 kB / 489 MB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.01167, allocations: 24.8 kB / 489.1 MB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.01214, allocations: 333.1 kB / 489.4 MB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.01218, allocations: 71.33 kB / 489.5 MB, free: 12.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.01221, allocations: 9.047 kB / 489.5 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.01232, allocations: 97.2 kB / 489.6 MB, free: 12.64 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01232, allocations: 3.938 kB / 489.6 MB, free: 12.63 MB / 458.7 MB Notification: Performance of Templates: time 0.003894/0.01621, allocations: 2.312 MB / 491.9 MB, free: 10.55 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8183274320326746]