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.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.001508/0.001508, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00135/0.00135, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo): time 0.0148/0.0148, allocations: 2.983 MB / 307.5 MB, free: 3.258 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-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(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 0.002051/0.002051, allocations: 59.91 kB / 428.7 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3269, allocations: 53.08 MB / 481.8 MB, free: 27.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.SSVTest): time 0.003062/0.3299, allocations: 1.549 MB / 483.3 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.3309, allocations: 0.87 MB / 484.2 MB, free: 25.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.331, allocations: 0 / 484.2 MB, free: 25.84 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5-master/package.mo:165:3-189:14:writable] Warning: Pure function 'ExternData.SSVFile' contains a call to impure function 'ExternData.Types.ExternXML2File.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.3314, allocations: 38.16 kB / 484.2 MB, free: 25.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3315, allocations: 35.75 kB / 484.3 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.865e-05/0.3315, allocations: 4 kB / 484.3 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.3316, allocations: 38.64 kB / 484.3 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.3317, allocations: 10.89 kB / 484.3 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.105e-05/0.3318, allocations: 3.312 kB / 484.3 MB, free: 25.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.3319, allocations: 17.59 kB / 484.3 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3319, allocations: 3.094 kB / 484.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.332, allocations: 29.98 kB / 484.4 MB, free: 25.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.332, allocations: 11.92 kB / 484.4 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.3321, allocations: 11 kB / 484.4 MB, free: 25.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3322, allocations: 47.53 kB / 484.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3322, allocations: 0 / 484.4 MB, free: 25.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3322, allocations: 4 kB / 484.5 MB, free: 25.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3322, allocations: 0 / 484.5 MB, free: 25.72 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004178/0.3326, allocations: 349.7 kB / 484.8 MB, free: 25.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3327, allocations: 12.7 kB / 484.8 MB, free: 25.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.3327, allocations: 4.891 kB / 484.8 MB, free: 25.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3328, allocations: 171.3 kB / 485 MB, free: 25.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3328, allocations: 3.531 kB / 485 MB, free: 25.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.3328, allocations: 384 / 485 MB, free: 25.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3329, allocations: 47.77 kB / 485 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3329, allocations: 3.469 kB / 485 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.333, allocations: 3.938 kB / 485 MB, free: 25.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.333, allocations: 3.156 kB / 485 MB, free: 25.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.333, allocations: 20.27 kB / 485.1 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.3333, allocations: 248.1 kB / 485.3 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.3334, allocations: 39.17 kB / 485.3 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.3334, allocations: 13.95 kB / 485.4 MB, free: 24.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.3334, allocations: 0 / 485.4 MB, free: 24.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.3334, allocations: 34.56 kB / 485.4 MB, free: 24.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3334, allocations: 0 / 485.4 MB, free: 24.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001979/0.3336, allocations: 58.19 kB / 485.4 MB, free: 24.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.3337, allocations: 55.53 kB / 485.5 MB, free: 24.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.3337, allocations: 109.5 kB / 485.6 MB, free: 24.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.3338, allocations: 29.7 kB / 485.6 MB, free: 24.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.3338, allocations: 80.14 kB / 485.7 MB, free: 24.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.3338, allocations: 10.27 kB / 485.7 MB, free: 24.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.3338, allocations: 17.66 kB / 485.7 MB, free: 24.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.3339, allocations: 313.9 kB / 486 MB, free: 24.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.572e-05/0.3339, allocations: 10.61 kB / 486.1 MB, free: 24.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.3339, allocations: 9.781 kB / 486.1 MB, free: 24.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.334, allocations: 27.75 kB / 486.1 MB, free: 24.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.334, allocations: 0 / 486.1 MB, free: 24.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.584e-05/0.3341, allocations: 59.53 kB / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3341, allocations: 5.906 kB / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3341, allocations: 0 / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3341, allocations: 0 / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.3342, allocations: 7.156 kB / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3342, allocations: 3.938 kB / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.3342, allocations: 6.5 kB / 486.2 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3342, allocations: 0 / 486.2 MB, free: 24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 4.579e-05/0.3342, allocations: 113 kB / 486.3 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.3343, allocations: 3.062 kB / 486.3 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.3343, allocations: 11.47 kB / 486.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3343, allocations: 0 / 486.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3343, allocations: 0 / 486.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3343, allocations: 4 kB / 486.3 MB, free: 23.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.3344, allocations: 166.7 kB / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.3344, allocations: 0 / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.3345, allocations: 9.75 kB / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3345, allocations: 0 / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.3345, allocations: 0 / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3345, allocations: 0 / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3345, allocations: 0 / 486.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.3346, allocations: 158.4 kB / 486.6 MB, free: 23.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.3346, allocations: 87.59 kB / 486.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3346, allocations: 0 / 486.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.3347, allocations: 3.281 kB / 486.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3347, allocations: 3.984 kB / 486.7 MB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3347, allocations: 4 kB / 486.7 MB, free: 23.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.3347, allocations: 91.92 kB / 486.8 MB, free: 23.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3347, allocations: 0 / 486.8 MB, free: 23.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.335, allocations: 6.219 kB / 486.8 MB, free: 23.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0008162/0.3358, allocations: 198.5 kB / 487 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.3359, allocations: 19.98 kB / 487 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3359, allocations: 0 / 487 MB, free: 23.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.336, allocations: 14.22 kB / 487.1 MB, free: 23.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.3362, allocations: 17.78 kB / 487.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.3365, allocations: 123.2 kB / 487.2 MB, free: 23.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.3366, allocations: 0.682 MB / 487.9 MB, free: 22.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.3367, allocations: 0 / 487.9 MB, free: 22.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.3367, allocations: 22.05 kB / 487.9 MB, free: 22.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3367, allocations: 3.938 kB / 487.9 MB, free: 22.35 MB / 366.1 MB Notification: Performance of Templates: time 0.003051/0.3398, allocations: 0.7197 MB / 488.6 MB, free: 22.25 MB / 366.1 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: 4.830262152478099]