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.0009882/0.0009882, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.955/0.955, allocations: 177.1 MB / 200.5 MB, free: 5.516 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.001148/0.001148, allocations: 160.7 kB / 257 MB, free: 13.02 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.02391/0.02391, allocations: 6.657 MB / 320.1 MB, free: 26.59 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.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.513e-06/1.513e-06, allocations: 0 / 391.6 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.226e-05, allocations: 2.312 kB / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001225/0.001247, allocations: 0.5049 MB / 392.1 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.001375, allocations: 23.95 kB / 392.2 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.001402, allocations: 3.938 kB / 392.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.001419, allocations: 4 kB / 392.2 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.001446, allocations: 0 / 392.2 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.00156, allocations: 7.938 kB / 392.2 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.001628, allocations: 11.92 kB / 392.2 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.001672, allocations: 4 kB / 392.2 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.001717, allocations: 4 kB / 392.2 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.001782, allocations: 7.984 kB / 392.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.001805, allocations: 0 / 392.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.001815, allocations: 0 / 392.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.001832, allocations: 3.984 kB / 392.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.001851, allocations: 4 kB / 392.2 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.608e-05/0.001917, allocations: 7.922 kB / 392.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.001919, allocations: 3.938 kB / 392.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00192, allocations: 4 kB / 392.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.001924, allocations: 0 / 392.2 MB, free: 2.395 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.000317/0.002241, allocations: 352.7 kB / 392.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.002285, allocations: 12.02 kB / 392.6 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.002325, allocations: 0.9375 kB / 392.6 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.002419, allocations: 112.6 kB / 392.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.002432, allocations: 384 / 392.7 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.002453, allocations: 4.375 kB / 392.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.005e-05/0.002533, allocations: 34.25 kB / 392.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.002541, allocations: 192 / 392.7 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002549, allocations: 4.375 kB / 392.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.002557, allocations: 384 / 392.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.002584, allocations: 15.88 kB / 392.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.002728, allocations: 116.7 kB / 392.9 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.799e-05/0.002796, allocations: 39.06 kB / 392.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.002822, allocations: 15.69 kB / 392.9 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.126e-06/0.00283, allocations: 4.078 kB / 392.9 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.002852, allocations: 37.39 kB / 393 MB, free: 1.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.002853, allocations: 0 / 393 MB, free: 1.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001374/0.002991, allocations: 53.58 kB / 393 MB, free: 1.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.003023, allocations: 55.41 kB / 393.1 MB, free: 1.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.003097, allocations: 157.9 kB / 393.2 MB, free: 1.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.003107, allocations: 25.7 kB / 393.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.003148, allocations: 130.9 kB / 393.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.003177, allocations: 11.94 kB / 393.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.003204, allocations: 23.38 kB / 393.4 MB, free: 1.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.003317, allocations: 492.1 kB / 393.9 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.003332, allocations: 4 kB / 393.9 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.003341, allocations: 3.984 kB / 393.9 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.643e-05/0.003378, allocations: 19.69 kB / 393.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.003379, allocations: 3.938 kB / 393.9 MB, free: 0.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.982e-05/0.003439, allocations: 53.62 kB / 394 MB, free: 452 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.003453, allocations: 8 kB / 394 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.003458, allocations: 0 / 394 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.00347, allocations: 0 / 394 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.003554, allocations: 8 kB / 394 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.003559, allocations: 0 / 394 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.003573, allocations: 11.83 kB / 394 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.003582, allocations: 3.984 kB / 394 MB, free: 420 kB / 314.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.34e-05/0.003645, allocations: 160.6 kB / 394.2 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.003653, allocations: 3.984 kB / 394.2 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.003672, allocations: 7.688 kB / 394.2 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.003676, allocations: 4 kB / 394.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.003679, allocations: 0 / 394.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.003683, allocations: 3.938 kB / 394.2 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.236e-05/0.003746, allocations: 116.6 kB / 394.3 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.003747, allocations: 0.5156 kB / 394.3 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.003793, allocations: 15.92 kB / 394.3 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.003795, allocations: 0 / 394.3 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.003806, allocations: 4 kB / 394.3 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.003807, allocations: 0 / 394.3 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.003808, allocations: 0 / 394.3 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.003915, allocations: 92.36 kB / 394.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-06/0.003923, allocations: 11.95 kB / 394.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.896e-06/0.003932, allocations: 0 / 394.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-06/0.00394, allocations: 3.984 kB / 394.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.003953, allocations: 0 / 394.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.003954, allocations: 0 / 394.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.873e-05/0.003983, allocations: 123.2 kB / 394.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003983, allocations: 0 / 394.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00012/0.004103, allocations: 7.938 kB / 394.6 MB, free: 15.79 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.452e-05/0.004178, allocations: 103.2 kB / 394.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.004254, allocations: 19.67 kB / 394.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.004255, allocations: 0 / 394.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.004268, allocations: 15.69 kB / 394.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.004382, allocations: 0 / 394.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.004615, allocations: 126.2 kB / 394.8 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.004642, allocations: 55.3 kB / 394.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.004662, allocations: 4 kB / 394.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.004684, allocations: 8.5 kB / 394.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004685, allocations: 0 / 394.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of Templates: time 0.001779/0.006464, allocations: 274.5 kB / 395.1 MB, free: 15.13 MB / 330.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.8463911740109324]