Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.0009843/0.0009843, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.019/1.019, allocations: 177.1 MB / 200 MB, free: 5.535 MB / 186.7 MB " [Timeout remaining time 179] 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.002275/0.002275, allocations: 160.4 kB / 256.6 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02712/0.02712, allocations: 6.662 MB / 319.8 MB, free: 26.53 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.99e-05, allocations: 5.969 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001313/0.001343, allocations: 0.5128 MB / 392.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001406/0.001484, allocations: 23.95 kB / 392.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.001511, allocations: 0 / 392.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.001534, allocations: 3.938 kB / 392.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.001587, allocations: 3.938 kB / 392.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.001707, allocations: 11.92 kB / 392.2 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.352e-05/0.001771, allocations: 15.92 kB / 392.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.001814, allocations: 0 / 392.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.001854, allocations: 7.984 kB / 392.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.001918, allocations: 15.94 kB / 392.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.001938, allocations: 0 / 392.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.001948, allocations: 4 kB / 392.2 MB, free: 2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.001963, allocations: 0 / 392.2 MB, free: 2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.001986, allocations: 4 kB / 392.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.904e-05/0.002055, allocations: 7.984 kB / 392.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.002057, allocations: 0 / 392.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.002059, allocations: 0 / 392.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.002064, allocations: 0 / 392.2 MB, free: 1.988 MB / 314.7 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.0003382/0.002402, allocations: 352.7 kB / 392.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.002445, allocations: 16.03 kB / 392.6 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.002483, allocations: 4.875 kB / 392.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.002565, allocations: 112.6 kB / 392.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.002575, allocations: 4.312 kB / 392.7 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.002599, allocations: 4.375 kB / 392.7 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.002952, allocations: 34.25 kB / 392.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.002958, allocations: 192 / 392.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.002967, allocations: 384 / 392.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.002974, allocations: 384 / 392.7 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.003002, allocations: 15.91 kB / 392.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.003133, allocations: 116.6 kB / 392.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/0.003201, allocations: 47.03 kB / 392.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.003226, allocations: 15.69 kB / 392.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.003233, allocations: 0 / 392.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.003256, allocations: 37.39 kB / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.003257, allocations: 0 / 393 MB, free: 1.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001377/0.003395, allocations: 49.67 kB / 393 MB, free: 1.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.003425, allocations: 55.41 kB / 393.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.00349, allocations: 161.9 kB / 393.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.0035, allocations: 29.7 kB / 393.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.003535, allocations: 126.9 kB / 393.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.003564, allocations: 15.89 kB / 393.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.00359, allocations: 19.38 kB / 393.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.003699, allocations: 0.4884 MB / 393.9 MB, free: 112 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.003713, allocations: 4 kB / 393.9 MB, free: 108 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.003721, allocations: 4 kB / 393.9 MB, free: 104 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.00376, allocations: 19.69 kB / 393.9 MB, free: 80 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.003762, allocations: 0 / 393.9 MB, free: 80 kB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.411e-05/0.003826, allocations: 49.62 kB / 394 MB, free: 24 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.00384, allocations: 4 kB / 394 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.003845, allocations: 0 / 394 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.003859, allocations: 0 / 394 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.003954, allocations: 15.98 kB / 394 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.00396, allocations: 0 / 394 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.003992, allocations: 11.94 kB / 394 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.003996, allocations: 3.984 kB / 394 MB, free: 15.98 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.3e-05/0.004059, allocations: 152.6 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.004067, allocations: 8 kB / 394.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.004087, allocations: 3.688 kB / 394.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.004089, allocations: 3.938 kB / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.004093, allocations: 0 / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.004098, allocations: 4.453 kB / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.766e-05/0.004165, allocations: 120.6 kB / 394.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.004167, allocations: 0 / 394.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.004218, allocations: 8 kB / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00422, allocations: 0 / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.004236, allocations: 8 kB / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004236, allocations: 3.938 kB / 394.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.004238, allocations: 0 / 394.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.004352, allocations: 92.34 kB / 394.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.00436, allocations: 3.953 kB / 394.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.00437, allocations: 0 / 394.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.00438, allocations: 12.03 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.004394, allocations: 0 / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.004396, allocations: 0 / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.004431, allocations: 127.2 kB / 394.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004431, allocations: 0 / 394.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001131/0.004544, allocations: 7.938 kB / 394.6 MB, free: 15.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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 7.137e-05/0.004615, allocations: 91.25 kB / 394.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.004697, allocations: 27.61 kB / 394.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.004699, allocations: 0 / 394.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.004714, allocations: 11.69 kB / 394.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.004822, allocations: 8 kB / 394.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.005139, allocations: 162.5 kB / 394.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.021e-05/0.005169, allocations: 55.36 kB / 394.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.005184, allocations: 4 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.005208, allocations: 8.5 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.005208, allocations: 0 / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.002246/0.007455, allocations: 274.4 kB / 395.2 MB, free: 14.68 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.030010896269232]