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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 110.5 kB / 17.6 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.8 kB / 20.78 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.092/1.092, allocations: 175.7 MB / 480.2 MB, free: 2.805 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001987/0.001987, allocations: 67.91 kB / 0.6684 GB, free: 10.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2635, allocations: 94.54 MB / 0.7607 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003807/0.2673, allocations: 1.634 MB / 0.7623 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2685, allocations: 0.6195 MB / 0.7629 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.998e-05/0.2686, allocations: 4 kB / 0.7629 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.2688, allocations: 19.78 kB / 0.7629 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.2691, allocations: 47.75 kB / 0.763 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.2695, allocations: 111.7 kB / 0.7631 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.2698, allocations: 183.6 kB / 0.7632 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.27, allocations: 25.09 kB / 0.7633 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.2702, allocations: 75.83 kB / 0.7633 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2703, allocations: 83.72 kB / 0.7634 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.2704, allocations: 16 kB / 0.7634 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.2705, allocations: 27.98 kB / 0.7635 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2706, allocations: 35.84 kB / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2707, allocations: 75.64 kB / 0.7636 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.271, allocations: 167.4 kB / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.271, allocations: 0 / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.271, allocations: 0 / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.271, allocations: 4 kB / 0.7637 GB, free: 13.2 MB / 0.5762 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.0008992/0.2719, allocations: 0.56 MB / 0.7643 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.272, allocations: 8.031 kB / 0.7643 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.272, allocations: 20.84 kB / 0.7643 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.2724, allocations: 240.3 kB / 0.7645 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2724, allocations: 4.375 kB / 0.7645 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.961e-05/0.2725, allocations: 12.38 kB / 0.7645 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.2728, allocations: 121.7 kB / 0.7647 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2728, allocations: 4 kB / 0.7647 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2728, allocations: 0 / 0.7647 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2728, allocations: 4 kB / 0.7647 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.273, allocations: 67.94 kB / 0.7647 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.2738, allocations: 424.5 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.274, allocations: 78.53 kB / 0.7652 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.2741, allocations: 68.81 kB / 0.7653 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2742, allocations: 3.984 kB / 0.7653 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.2745, allocations: 182.8 kB / 0.7655 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.2745, allocations: 0 / 0.7655 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0008427/0.2753, allocations: 360.9 kB / 0.7658 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.2754, allocations: 170.2 kB / 0.766 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.2756, allocations: 175.2 kB / 0.7661 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.2757, allocations: 29.7 kB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.2758, allocations: 108.4 kB / 0.7663 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2758, allocations: 35.75 kB / 0.7663 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.2759, allocations: 37.7 kB / 0.7663 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2761, allocations: 334.8 kB / 0.7666 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.2762, allocations: 51.97 kB / 0.7667 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2764, allocations: 106.8 kB / 0.7668 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.2768, allocations: 312.9 kB / 0.7671 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2768, allocations: 0 / 0.7671 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005695/0.2773, allocations: 352.2 kB / 0.7674 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.2774, allocations: 119 kB / 0.7675 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2775, allocations: 4 kB / 0.7675 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.2775, allocations: 4 kB / 0.7676 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2776, allocations: 19.98 kB / 0.7676 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2776, allocations: 4 kB / 0.7676 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.2777, allocations: 15.89 kB / 0.7676 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.2777, allocations: 11.98 kB / 0.7676 GB, free: 8.785 MB / 0.5762 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.0002039/0.2779, allocations: 197.2 kB / 0.7678 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.278, allocations: 15.91 kB / 0.7678 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.278, allocations: 17.41 kB / 0.7678 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.278, allocations: 0 / 0.7678 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.278, allocations: 0 / 0.7678 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.278, allocations: 8.266 kB / 0.7678 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.2789, allocations: 0.5952 MB / 0.7684 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2789, allocations: 4 kB / 0.7684 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.279, allocations: 11.98 kB / 0.7684 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.279, allocations: 0 / 0.7684 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.279, allocations: 12 kB / 0.7684 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.279, allocations: 3.984 kB / 0.7684 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.279, allocations: 3.938 kB / 0.7684 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.2796, allocations: 402.7 kB / 0.7688 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.2797, allocations: 89.02 kB / 0.7689 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.2797, allocations: 8 kB / 0.7689 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2798, allocations: 8 kB / 0.7689 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.2799, allocations: 15.91 kB / 0.7689 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.2799, allocations: 15.98 kB / 0.769 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2801, allocations: 129.1 kB / 0.7691 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2801, allocations: 0 / 0.7691 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003717/0.2804, allocations: 32 kB / 0.7691 GB, free: 7.09 MB / 0.5762 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.000324/0.2808, allocations: 140.1 kB / 0.7692 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005762/0.2813, allocations: 349.5 kB / 0.7696 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2813, allocations: 0 / 0.7696 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.2816, allocations: 190.7 kB / 0.7698 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.2819, allocations: 24.48 kB / 0.7698 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.2827, allocations: 291.7 kB / 0.7701 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.2831, allocations: 0.708 MB / 0.7708 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.2832, allocations: 20.53 kB / 0.7708 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.2832, allocations: 23.36 kB / 0.7708 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2832, allocations: 0 / 0.7708 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of Templates: time 0.006881/0.2901, allocations: 2.113 MB / 0.7729 GB, free: 3.148 MB / 0.5762 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.143903593532741]