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.001595/0.001595, allocations: 117.9 kB / 17.13 MB, free: 5.758 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.001629/0.001629, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.103/1.103, allocations: 175.7 MB / 479.1 MB, free: 3.406 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.001925/0.001925, allocations: 66.95 kB / 0.6663 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1777, allocations: 94.54 MB / 0.7587 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003069/0.1808, allocations: 1.612 MB / 0.7602 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1818, allocations: 0.6156 MB / 0.7608 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.688e-05/0.1819, allocations: 4 kB / 0.7608 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.182, allocations: 19.8 kB / 0.7609 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1823, allocations: 52.61 kB / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1827, allocations: 107.8 kB / 0.761 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.1829, allocations: 187.6 kB / 0.7612 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1831, allocations: 25.06 kB / 0.7612 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1832, allocations: 83.8 kB / 0.7613 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.1834, allocations: 83.72 kB / 0.7614 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.1834, allocations: 16 kB / 0.7614 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.467e-05/0.1835, allocations: 28 kB / 0.7614 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.1836, allocations: 31.84 kB / 0.7614 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1837, allocations: 71.66 kB / 0.7615 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1839, allocations: 167.4 kB / 0.7617 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1839, allocations: 4 kB / 0.7617 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1839, allocations: 0 / 0.7617 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1839, allocations: 0 / 0.7617 GB, free: 14.04 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.0007728/0.1847, allocations: 0.5561 MB / 0.7622 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1848, allocations: 12.03 kB / 0.7622 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1848, allocations: 20.84 kB / 0.7623 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1852, allocations: 244.3 kB / 0.7625 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1852, allocations: 8.375 kB / 0.7625 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.1852, allocations: 12.38 kB / 0.7625 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1855, allocations: 117.7 kB / 0.7626 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1855, allocations: 0 / 0.7626 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1855, allocations: 8 kB / 0.7626 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1855, allocations: 4 kB / 0.7626 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1858, allocations: 67.95 kB / 0.7627 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.1864, allocations: 416.6 kB / 0.7631 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1867, allocations: 86.47 kB / 0.7632 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1868, allocations: 64.81 kB / 0.7632 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1869, allocations: 0 / 0.7632 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.1871, allocations: 182.7 kB / 0.7634 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1872, allocations: 0 / 0.7634 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0008055/0.188, allocations: 368.9 kB / 0.7638 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1881, allocations: 162.2 kB / 0.7639 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1883, allocations: 187.1 kB / 0.7641 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1883, allocations: 29.7 kB / 0.7641 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.1884, allocations: 100.4 kB / 0.7642 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1884, allocations: 35.78 kB / 0.7643 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.1885, allocations: 37.7 kB / 0.7643 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1886, allocations: 330.8 kB / 0.7646 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1888, allocations: 55.95 kB / 0.7647 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.189, allocations: 106.8 kB / 0.7648 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.1894, allocations: 304.9 kB / 0.7651 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1894, allocations: 0 / 0.7651 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005989/0.19, allocations: 356.1 kB / 0.7654 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.1901, allocations: 121.1 kB / 0.7655 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1901, allocations: 4 kB / 0.7655 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1901, allocations: 4 kB / 0.7655 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1902, allocations: 15.98 kB / 0.7655 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1902, allocations: 4.25 kB / 0.7655 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1903, allocations: 23.88 kB / 0.7656 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1903, allocations: 12 kB / 0.7656 GB, free: 9.613 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.000177/0.1905, allocations: 189.2 kB / 0.7657 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.1906, allocations: 19.91 kB / 0.7658 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.582e-05/0.1906, allocations: 17.39 kB / 0.7658 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1906, allocations: 0 / 0.7658 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1906, allocations: 0 / 0.7658 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1906, allocations: 3.984 kB / 0.7658 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.1915, allocations: 0.6111 MB / 0.7664 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1915, allocations: 0 / 0.7664 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.1915, allocations: 8 kB / 0.7664 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1915, allocations: 3.984 kB / 0.7664 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1916, allocations: 4 kB / 0.7664 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1916, allocations: 0 / 0.7664 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1916, allocations: 3.938 kB / 0.7664 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.1922, allocations: 414.7 kB / 0.7668 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.1922, allocations: 85.02 kB / 0.7669 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1923, allocations: 7.984 kB / 0.7669 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1924, allocations: 12 kB / 0.7669 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1924, allocations: 15.92 kB / 0.7669 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1925, allocations: 4 kB / 0.7669 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001269/0.1926, allocations: 137.1 kB / 0.767 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1926, allocations: 0 / 0.767 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003082/0.1929, allocations: 36 kB / 0.7671 GB, free: 7.914 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.0002545/0.1931, allocations: 125.9 kB / 0.7672 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.1937, allocations: 361.5 kB / 0.7675 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1937, allocations: 0 / 0.7675 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.1939, allocations: 182.7 kB / 0.7677 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1943, allocations: 20.03 kB / 0.7677 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.1949, allocations: 317.9 kB / 0.768 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1953, allocations: 0.7156 MB / 0.7687 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.1953, allocations: 19.42 kB / 0.7688 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.1953, allocations: 0 / 0.7688 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of Templates: time 0.004667/0.2, allocations: 2.171 MB / 0.7709 GB, free: 3.898 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: 8.693943328922614] Failed to read output from testmodel.py, exit status != 0: 0.2075393609702587 0.220679532 0.033963944 Calling exit ...