Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001412/0.001412, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.965/0.965, allocations: 177.2 MB / 201 MB, free: 5.711 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.001505/0.001505, allocations: 148.7 kB / 257.7 MB, free: 12.98 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.02532/0.02532, allocations: 6.661 MB / 320.9 MB, free: 11.3 MB / 298.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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 392.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.237e-05, allocations: 2.312 kB / 392.9 MB, free: 3.234 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001394/0.001416, allocations: 0.4974 MB / 393.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.001547, allocations: 23.89 kB / 393.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.001575, allocations: 0 / 393.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.001591, allocations: 0 / 393.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.992e-05/0.001621, allocations: 0 / 393.4 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.001724, allocations: 7.938 kB / 393.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.001786, allocations: 11.98 kB / 393.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.001829, allocations: 7.938 kB / 393.4 MB, free: 2.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.001866, allocations: 7.938 kB / 393.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.005937, allocations: 3.984 kB / 393.4 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.005954, allocations: 4 kB / 393.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.005962, allocations: 0 / 393.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.005979, allocations: 4 kB / 393.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.005995, allocations: 3.984 kB / 393.4 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 7.684e-05/0.006072, allocations: 7.984 kB / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.006074, allocations: 0 / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006075, allocations: 0 / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.006081, allocations: 3.938 kB / 393.4 MB, free: 2.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003414/0.006422, allocations: 352.7 kB / 393.8 MB, free: 2.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006466, allocations: 12.03 kB / 393.8 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.006494, allocations: 4.938 kB / 393.8 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.006598, allocations: 112.6 kB / 393.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.00661, allocations: 384 / 393.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.006627, allocations: 384 / 393.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.661e-05/0.006694, allocations: 34.25 kB / 393.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006702, allocations: 192 / 393.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.00671, allocations: 4.375 kB / 394 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.006716, allocations: 384 / 394 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.006737, allocations: 15.88 kB / 394 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.006879, allocations: 97.25 kB / 394.1 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.006938, allocations: 39.09 kB / 394.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.006958, allocations: 15.69 kB / 394.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.006964, allocations: 0 / 394.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.006989, allocations: 41.47 kB / 394.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.00699, allocations: 0 / 394.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001068/0.007096, allocations: 49.58 kB / 394.2 MB, free: 1.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.007129, allocations: 51.41 kB / 394.3 MB, free: 1.699 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.007212, allocations: 161.9 kB / 394.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.007223, allocations: 29.7 kB / 394.4 MB, free: 1.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.007265, allocations: 126.9 kB / 394.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.007291, allocations: 7.953 kB / 394.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007324, allocations: 19.36 kB / 394.6 MB, free: 1.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.007461, allocations: 0.4961 MB / 395.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-06/0.00747, allocations: 0 / 395.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.007479, allocations: 4 kB / 395.1 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.007516, allocations: 20.08 kB / 395.1 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007518, allocations: 4 kB / 395.1 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.339e-05/0.007581, allocations: 49.69 kB / 395.2 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.007593, allocations: 4 kB / 395.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007598, allocations: 7.984 kB / 395.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.007608, allocations: 0 / 395.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.007681, allocations: 8 kB / 395.2 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.007685, allocations: 3.984 kB / 395.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.007703, allocations: 7.875 kB / 395.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.007707, allocations: 3.938 kB / 395.2 MB, free: 0.6953 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: 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 7.049e-05/0.007777, allocations: 156.6 kB / 395.4 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-06/0.007784, allocations: 3.938 kB / 395.4 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.007806, allocations: 15.67 kB / 395.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.007808, allocations: 0 / 395.4 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.00781, allocations: 4 kB / 395.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007812, allocations: 0 / 395.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.49e-05/0.007887, allocations: 97.2 kB / 395.5 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007889, allocations: 4 kB / 395.5 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.007936, allocations: 8 kB / 395.5 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.007939, allocations: 3.984 kB / 395.5 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007947, allocations: 0 / 395.5 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007948, allocations: 0 / 395.5 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007949, allocations: 0 / 395.5 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.008059, allocations: 92.31 kB / 395.6 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.008065, allocations: 0 / 395.6 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.008073, allocations: 8.031 kB / 395.6 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.008083, allocations: 4 kB / 395.6 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.008096, allocations: 7.922 kB / 395.6 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.008098, allocations: 0 / 395.6 MB, free: 240 kB / 362.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.008134, allocations: 123.2 kB / 395.7 MB, free: 116 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008134, allocations: 0 / 395.7 MB, free: 116 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.008275, allocations: 4 kB / 395.7 MB, free: 112 kB / 362.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 6.396e-05/0.008339, allocations: 91.25 kB / 395.8 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.008403, allocations: 19.67 kB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008404, allocations: 4 kB / 395.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.008416, allocations: 15.62 kB / 395.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.008515, allocations: 18.98 kB / 395.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.008697, allocations: 110.4 kB / 396 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.008729, allocations: 59.34 kB / 396 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.008749, allocations: 0 / 396 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.008785, allocations: 70.2 kB / 396.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008786, allocations: 0 / 396.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Templates: time 0.001617/0.0104, allocations: 294.7 kB / 396.4 MB, free: 15.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.899823507294059]