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.001607/0.001607, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001418/0.001418, allocations: 158.3 kB / 23.01 MB, free: 4.941 MB / 14.72 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.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7931/0.7931, allocations: 101.3 MB / 361.1 MB, free: 9.508 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.09 kB / 0.5356 GB, free: 5.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1387, allocations: 85.89 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003007/0.1417, allocations: 1.609 MB / 0.6211 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1428, allocations: 0.6662 MB / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.1429, allocations: 0 / 0.6217 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.143, allocations: 15.8 kB / 0.6217 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1432, allocations: 46.61 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.1437, allocations: 127.7 kB / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.144, allocations: 191.6 kB / 0.6221 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.1441, allocations: 17.62 kB / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1443, allocations: 95.73 kB / 0.6222 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1444, allocations: 83.66 kB / 0.6223 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1445, allocations: 12 kB / 0.6223 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.1445, allocations: 32 kB / 0.6223 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.1446, allocations: 31.91 kB / 0.6223 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.1447, allocations: 63.72 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.145, allocations: 179.3 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.145, allocations: 4 kB / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.145, allocations: 0 / 0.6226 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.145, allocations: 3.938 kB / 0.6226 GB, free: 14.39 MB / 0.5294 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.0007083/0.1457, allocations: 499.3 kB / 0.6231 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.1457, allocations: 8.031 kB / 0.6231 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.1459, allocations: 28.83 kB / 0.6231 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1463, allocations: 182.4 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1463, allocations: 4.375 kB / 0.6233 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1463, allocations: 20.38 kB / 0.6233 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1466, allocations: 181 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1467, allocations: 0 / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1467, allocations: 4 kB / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1467, allocations: 0 / 0.6235 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1469, allocations: 131.3 kB / 0.6236 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.1476, allocations: 336.2 kB / 0.6239 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1478, allocations: 145.9 kB / 0.6241 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.148, allocations: 120.2 kB / 0.6242 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.148, allocations: 4 kB / 0.6242 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.1484, allocations: 238.2 kB / 0.6244 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1484, allocations: 7.938 kB / 0.6244 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0008833/0.1493, allocations: 479.8 kB / 0.6249 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.1494, allocations: 162.2 kB / 0.625 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1496, allocations: 180.7 kB / 0.6252 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1496, allocations: 33.7 kB / 0.6252 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.1497, allocations: 112.3 kB / 0.6253 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1497, allocations: 27.78 kB / 0.6254 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.1498, allocations: 37.7 kB / 0.6254 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.15, allocations: 326.8 kB / 0.6257 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.1502, allocations: 166.8 kB / 0.6259 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.1504, allocations: 213 kB / 0.6261 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.1508, allocations: 320.8 kB / 0.6264 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1508, allocations: 0 / 0.6264 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000688/0.1515, allocations: 467 kB / 0.6268 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.925e-05/0.1516, allocations: 118.8 kB / 0.6269 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1516, allocations: 4 kB / 0.6269 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1517, allocations: 3.938 kB / 0.6269 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1518, allocations: 19.98 kB / 0.627 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1518, allocations: 256 / 0.627 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1519, allocations: 19.89 kB / 0.627 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.1519, allocations: 15.98 kB / 0.627 GB, free: 9.328 MB / 0.5294 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.0001858/0.1521, allocations: 197.1 kB / 0.6272 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1521, allocations: 19.91 kB / 0.6272 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.1522, allocations: 13.47 kB / 0.6272 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1522, allocations: 0 / 0.6272 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1522, allocations: 0 / 0.6272 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1522, allocations: 3.984 kB / 0.6272 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.153, allocations: 0.5789 MB / 0.6278 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.153, allocations: 288 / 0.6278 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.1531, allocations: 11.98 kB / 0.6278 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1531, allocations: 4 kB / 0.6278 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1531, allocations: 19.91 kB / 0.6278 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1531, allocations: 0 / 0.6278 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1531, allocations: 4 kB / 0.6278 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1538, allocations: 470 kB / 0.6283 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.1538, allocations: 15.84 kB / 0.6283 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1538, allocations: 8 kB / 0.6283 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1539, allocations: 8 kB / 0.6283 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.154, allocations: 11.98 kB / 0.6283 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.154, allocations: 4 kB / 0.6283 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001208/0.1541, allocations: 137.1 kB / 0.6284 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1541, allocations: 0 / 0.6284 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003101/0.1544, allocations: 43.88 kB / 0.6285 GB, free: 7.672 MB / 0.5294 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.0002113/0.1547, allocations: 121.2 kB / 0.6286 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006802/0.1553, allocations: 0.5191 MB / 0.6291 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1553, allocations: 0 / 0.6291 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.1556, allocations: 242.1 kB / 0.6293 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.156, allocations: 28.23 kB / 0.6294 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.1566, allocations: 359.4 kB / 0.6297 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1567, allocations: 89.91 kB / 0.6298 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.339e-05/0.1568, allocations: 20.47 kB / 0.6298 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1568, allocations: 16.5 kB / 0.6298 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.1568, allocations: 4 kB / 0.6298 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.005774/0.1626, allocations: 2.161 MB / 0.6319 GB, free: 3.996 MB / 0.5294 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=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.037445966969244] Failed to read output from testmodel.py, exit status != 0: 0.16995147604029626 0.18525745199999996 0.037184720000000004 Calling exit ...