Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.SSVTest.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.001035/0.001035, allocations: 80.53 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.001196/0.001196, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8318/0.8318, 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.008078/0.008078, allocations: 2.251 MB / 262.2 MB, free: 10.98 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.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") translateModel(ExternData.Examples.SSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.SSVTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 386.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.376e-05, allocations: 6.219 kB / 386.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002317/0.002341, allocations: 1.668 MB / 388.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004129, allocations: 1.811 MB / 390 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.004194, allocations: 4 kB / 390 MB, free: 8.387 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:147:3-177:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.004885, allocations: 159.3 kB / 390.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.004979, allocations: 75.5 kB / 390.3 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.005119, allocations: 95.69 kB / 390.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.005271, allocations: 83.77 kB / 390.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.005381, allocations: 11.84 kB / 390.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.00546, allocations: 43.89 kB / 390.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005587, allocations: 30.28 kB / 390.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.005607, allocations: 8 kB / 390.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.005874, allocations: 251.5 kB / 390.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.005941, allocations: 23.91 kB / 390.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.005985, allocations: 15.94 kB / 390.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.006332, allocations: 291.2 kB / 391.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.006335, allocations: 0 / 391.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006336, allocations: 0 / 391.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.006341, allocations: 0 / 391.1 MB, free: 7.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000603/0.006944, allocations: 391.1 kB / 391.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.006996, allocations: 8.031 kB / 391.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.007048, allocations: 12.89 kB / 391.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.007253, allocations: 133.7 kB / 391.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.007267, allocations: 4.375 kB / 391.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.007283, allocations: 384 / 391.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.00751, allocations: 125.6 kB / 391.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.007519, allocations: 3.938 kB / 391.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.00753, allocations: 0 / 391.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007536, allocations: 4 kB / 391.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.00763, allocations: 77.66 kB / 391.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.007899, allocations: 233.3 kB / 392.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.007999, allocations: 106.8 kB / 392.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.008074, allocations: 83.38 kB / 392.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.008089, allocations: 0 / 392.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.008243, allocations: 172.4 kB / 392.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 5.61e-07/0.008244, allocations: 0 / 392.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003296/0.008573, allocations: 286.8 kB / 392.7 MB, free: 5.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.008622, allocations: 114.9 kB / 392.8 MB, free: 5.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.008708, allocations: 133.8 kB / 392.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.008722, allocations: 29.64 kB / 393 MB, free: 5.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.008757, allocations: 92.12 kB / 393.1 MB, free: 5.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.008783, allocations: 27.75 kB / 393.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.008818, allocations: 25.7 kB / 393.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.009046, allocations: 314.8 kB / 393.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.009109, allocations: 69.67 kB / 393.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.009168, allocations: 83.39 kB / 393.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.009291, allocations: 153 kB / 393.7 MB, free: 4.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.009294, allocations: 3.938 kB / 393.7 MB, free: 4.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000181/0.009475, allocations: 228.7 kB / 393.9 MB, free: 4.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.009503, allocations: 29.7 kB / 394 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.009507, allocations: 4 kB / 394 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.00952, allocations: 3.984 kB / 394 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.009577, allocations: 8 kB / 394 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.009581, allocations: 0 / 394 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.009618, allocations: 7.953 kB / 394 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.009629, allocations: 16.02 kB / 394 MB, free: 4.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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 7.914e-05/0.009708, allocations: 163.3 kB / 394.2 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.009722, allocations: 11.95 kB / 394.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.009742, allocations: 8.438 kB / 394.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009745, allocations: 4 kB / 394.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.009749, allocations: 3.938 kB / 394.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009753, allocations: 0 / 394.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.794e-05/0.009831, allocations: 129.3 kB / 394.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009832, allocations: 4 kB / 394.3 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.009856, allocations: 19.98 kB / 394.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.009858, allocations: 0 / 394.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.009868, allocations: 11.94 kB / 394.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.009868, allocations: 240 / 394.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009869, allocations: 0 / 394.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.01008, allocations: 277.2 kB / 394.6 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.01009, allocations: 11.92 kB / 394.6 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.01011, allocations: 8 kB / 394.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.01013, allocations: 7.984 kB / 394.7 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01016, allocations: 7.984 kB / 394.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.01018, allocations: 8 kB / 394.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.01023, allocations: 103.9 kB / 394.8 MB, free: 3.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01023, allocations: 0 / 394.8 MB, free: 3.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01043, allocations: 87.78 kB / 394.9 MB, free: 3.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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.0007273/0.01116, allocations: 475.5 kB / 395.3 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01137, allocations: 214.7 kB / 395.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01137, allocations: 4.062 kB / 395.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.01145, allocations: 149 kB / 395.7 MB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.01161, allocations: 19.88 kB / 395.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.01195, allocations: 257.6 kB / 396 MB, free: 2.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01199, allocations: 75.33 kB / 396 MB, free: 1.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.01203, allocations: 32.53 kB / 396.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01204, allocations: 3.938 kB / 396.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of Templates: time 0.003214/0.01525, allocations: 2.983 MB / 399.1 MB, free: 14.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ExternData_ExternData.Examples.SSVTest.makefile [Timeout 660] (rm -f ExternData_ExternData.Examples.SSVTest.pipe ; mkfifo ExternData_ExternData.Examples.SSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.SSVTest.pipe >> ../files/ExternData_ExternData.Examples.SSVTest.sim & ./ExternData_ExternData.Examples.SSVTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.SSVTest.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.066717376001179] Failed to read output from testmodel.py, exit status != 0: 0.020427769981324673 0.027698813000000003 0.019784644 Calling exit ...