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.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 360 kB / 13.93 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.001691/0.001691, allocations: 161.7 kB / 22.76 MB, free: 1.684 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 1.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.01765/0.01765, allocations: 2.262 MB / 261.8 MB, free: 10.82 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 2.164e-06/2.164e-06, allocations: 0 / 332.1 MB, free: 16.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.372e-05, allocations: 4.844 kB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.002743/0.002777, allocations: 1.667 MB / 333.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.005258, allocations: 1.82 MB / 335.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.005364, allocations: 0 / 335.6 MB, free: 13.28 MB / 266.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.0009584/0.006323, allocations: 163.2 kB / 335.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.006533, allocations: 71.61 kB / 335.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.006819, allocations: 79.73 kB / 335.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.006971, allocations: 83.75 kB / 335.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.007059, allocations: 4 kB / 336 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.007164, allocations: 59.83 kB / 336 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.007359, allocations: 27.91 kB / 336 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.007382, allocations: 4 kB / 336 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.0102, allocations: 0.4992 MB / 336.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.01029, allocations: 15.92 kB / 336.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.01037, allocations: 23.94 kB / 336.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.01098, allocations: 299.1 kB / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.01098, allocations: 0 / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01098, allocations: 0 / 336.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01099, allocations: 0 / 336.9 MB, free: 12.11 MB / 266.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.0006514/0.01164, allocations: 395.1 kB / 337.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.01168, allocations: 8.031 kB / 337.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.01176, allocations: 12.89 kB / 337.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.01196, allocations: 129.7 kB / 337.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.01198, allocations: 4.312 kB / 337.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.01199, allocations: 4.375 kB / 337.4 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.01221, allocations: 125.6 kB / 337.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01222, allocations: 7.938 kB / 337.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.01224, allocations: 0 / 337.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01224, allocations: 0 / 337.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01239, allocations: 81.61 kB / 337.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.01271, allocations: 229.4 kB / 337.8 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.01285, allocations: 106.9 kB / 338 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.01295, allocations: 83.33 kB / 338 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.01297, allocations: 4 kB / 338 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.01317, allocations: 164.5 kB / 338.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.01317, allocations: 0 / 338.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005024/0.01367, allocations: 298.7 kB / 338.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.01371, allocations: 106.8 kB / 338.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01384, allocations: 137.8 kB / 338.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01385, allocations: 29.7 kB / 338.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.01388, allocations: 84.14 kB / 338.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.01392, allocations: 39.8 kB / 338.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.01397, allocations: 25.72 kB / 338.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.01402, allocations: 318.8 kB / 339.2 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.01411, allocations: 69.67 kB / 339.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/0.0142, allocations: 87.34 kB / 339.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.01435, allocations: 141.1 kB / 339.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01436, allocations: 12 kB / 339.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002922/0.01465, allocations: 229 kB / 339.7 MB, free: 8.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.01468, allocations: 41.69 kB / 339.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.01469, allocations: 0 / 339.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.01471, allocations: 3.984 kB / 339.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.508e-05/0.01481, allocations: 15.92 kB / 339.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01482, allocations: 4 kB / 339.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.01489, allocations: 7.953 kB / 339.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.0149, allocations: 4 kB / 339.8 MB, free: 8.836 MB / 266.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 9.288e-05/0.01499, allocations: 159.5 kB / 340 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01503, allocations: 11.95 kB / 340 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.01506, allocations: 20.45 kB / 340 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01506, allocations: 0 / 340 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01507, allocations: 0 / 340 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01507, allocations: 0 / 340 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.01517, allocations: 129.3 kB / 340.1 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01517, allocations: 3.938 kB / 340.1 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.01522, allocations: 11.94 kB / 340.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01522, allocations: 0 / 340.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01524, allocations: 7.984 kB / 340.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01524, allocations: 0 / 340.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01524, allocations: 4 kB / 340.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.01558, allocations: 281.2 kB / 340.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.01561, allocations: 19.81 kB / 340.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.01563, allocations: 0 / 340.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.0157, allocations: 8 kB / 340.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.01574, allocations: 7.984 kB / 340.5 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01576, allocations: 7.938 kB / 340.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.904e-05/0.01582, allocations: 111.3 kB / 340.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01582, allocations: 0 / 340.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.01616, allocations: 83.73 kB / 340.7 MB, free: 7.902 MB / 266.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.002271/0.01843, allocations: 475.9 kB / 341.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.01883, allocations: 230.7 kB / 341.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01884, allocations: 0 / 341.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.01897, allocations: 137.1 kB / 341.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.0193, allocations: 15.94 kB / 341.5 MB, free: 7.133 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.01984, allocations: 284.9 kB / 341.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.0199, allocations: 82.25 kB / 341.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.01996, allocations: 7.984 kB / 341.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.02002, allocations: 24.48 kB / 341.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02002, allocations: 0 / 341.9 MB, free: 6.691 MB / 266.7 MB Notification: Performance of Templates: time 0.006922/0.02694, allocations: 2.967 MB / 344.9 MB, free: 3.738 MB / 266.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 sys.exit(0), Time elapsed: 5.031912346952595]