Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.0009797/0.0009797, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001086/0.001086, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.839/0.839, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.00833/0.00833, allocations: 2.24 MB / 262.2 MB, free: 10.99 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.841e-05, allocations: 3.688 kB / 386.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002144/0.002172, allocations: 1.521 MB / 388.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003393, allocations: 1.359 MB / 389.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.003446, allocations: 0 / 389.4 MB, free: 9.004 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.003792, allocations: 51.7 kB / 389.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.003879, allocations: 31.84 kB / 389.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.004078, allocations: 87.67 kB / 389.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.004178, allocations: 59.83 kB / 389.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.004215, allocations: 7.984 kB / 389.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.588e-05/0.004291, allocations: 35.91 kB / 389.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.004418, allocations: 15.92 kB / 389.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.004434, allocations: 4 kB / 389.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.004567, allocations: 103.8 kB / 389.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.004626, allocations: 19.92 kB / 389.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.004667, allocations: 15.92 kB / 389.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.004868, allocations: 139.6 kB / 390 MB, free: 8.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.00487, allocations: 0 / 390 MB, free: 8.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004871, allocations: 4 kB / 390 MB, free: 8.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.004876, allocations: 0 / 390 MB, free: 8.438 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004238/0.0053, allocations: 335.6 kB / 390.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.005335, allocations: 8.031 kB / 390.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.005375, allocations: 8.891 kB / 390.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.005544, allocations: 125.7 kB / 390.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.005554, allocations: 8.312 kB / 390.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.005564, allocations: 8.312 kB / 390.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.00569, allocations: 91.94 kB / 390.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005698, allocations: 192 / 390.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.005707, allocations: 4.375 kB / 390.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.005713, allocations: 3.938 kB / 390.6 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.005777, allocations: 65.67 kB / 390.6 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.005904, allocations: 113.2 kB / 390.8 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.005973, allocations: 72.27 kB / 390.8 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.006031, allocations: 70.53 kB / 390.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.006041, allocations: 0 / 390.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.006184, allocations: 146.9 kB / 391 MB, free: 7.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.006185, allocations: 0 / 391 MB, free: 7.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003193/0.006505, allocations: 250.7 kB / 391.3 MB, free: 6.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.006551, allocations: 89.05 kB / 391.4 MB, free: 6.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.006646, allocations: 133.8 kB / 391.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.00666, allocations: 25.7 kB / 391.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.006693, allocations: 88.14 kB / 391.6 MB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.006726, allocations: 23.8 kB / 391.6 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.006756, allocations: 25.7 kB / 391.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.006831, allocations: 310.8 kB / 392 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.006877, allocations: 65.69 kB / 392 MB, free: 6.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.006916, allocations: 65.67 kB / 392.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.006999, allocations: 116.2 kB / 392.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.007002, allocations: 0 / 392.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001489/0.00715, allocations: 208.9 kB / 392.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.007181, allocations: 40.52 kB / 392.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007185, allocations: 0 / 392.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.007198, allocations: 4 kB / 392.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.007257, allocations: 11.92 kB / 392.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007262, allocations: 0 / 392.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.007306, allocations: 4 kB / 392.5 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.007314, allocations: 4 kB / 392.5 MB, free: 5.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.097e-05/0.007395, allocations: 158.3 kB / 392.6 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.007407, allocations: 11.95 kB / 392.6 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.007431, allocations: 12.52 kB / 392.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007433, allocations: 3.984 kB / 392.7 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007438, allocations: 3.938 kB / 392.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.007441, allocations: 0 / 392.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.556e-05/0.007516, allocations: 125.3 kB / 392.8 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007517, allocations: 3.938 kB / 392.8 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.00753, allocations: 4 kB / 392.8 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.007531, allocations: 4 kB / 392.8 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.007541, allocations: 7.984 kB / 392.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.007542, allocations: 0 / 392.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007542, allocations: 0 / 392.8 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.007732, allocations: 248.6 kB / 393 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.007743, allocations: 11.89 kB / 393.1 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.00776, allocations: 7.984 kB / 393.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.007785, allocations: 0 / 393.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.007817, allocations: 7.938 kB / 393.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.007829, allocations: 0 / 393.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.89e-05/0.007878, allocations: 107.7 kB / 393.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007878, allocations: 4 kB / 393.2 MB, free: 4.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.008042, allocations: 43.92 kB / 393.2 MB, free: 4.852 MB / 362.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,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0004793/0.008521, allocations: 237.4 kB / 393.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.008705, allocations: 194.8 kB / 393.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008706, allocations: 7.938 kB / 393.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.008778, allocations: 125.1 kB / 393.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.008933, allocations: 19.11 kB / 393.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.009278, allocations: 232.2 kB / 394 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.949e-05/0.009327, allocations: 79.12 kB / 394.1 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.009358, allocations: 12.5 kB / 394.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009359, allocations: 0 / 394.1 MB, free: 3.895 MB / 362.7 MB Notification: Performance of Templates: time 0.002602/0.01196, allocations: 1.572 MB / 395.7 MB, free: 2.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & ./ExternData_ExternData.Examples.CSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.201385961845517] Failed to read output from testmodel.py, exit status != 0: 0.017230931669473648 0.025370285000000003 0.01879281 Calling exit ...