Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001568/0.001568, allocations: 117.2 kB / 17.13 MB, free: 5.758 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.413/1.413, allocations: 225.6 MB / 245.5 MB, free: 14.14 MB / 206.1 MB " [Timeout remaining time 178] 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.001557/0.001557, allocations: 185.3 kB / 300.5 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04343/0.04343, allocations: 8.926 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 81.88 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.09152, allocations: 54.41 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003136/0.09466, allocations: 1.822 MB / 0.5307 GB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.09547, allocations: 467.7 kB / 0.5312 GB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.09555, allocations: 4 kB / 0.5312 GB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.09566, allocations: 15.84 kB / 0.5312 GB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.09574, allocations: 27.72 kB / 0.5312 GB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.0959, allocations: 27.97 kB / 0.5312 GB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.09608, allocations: 123.4 kB / 0.5313 GB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.0962, allocations: 40.97 kB / 0.5314 GB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.09626, allocations: 43.86 kB / 0.5314 GB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.09636, allocations: 51.77 kB / 0.5315 GB, free: 14.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.09638, allocations: 16 kB / 0.5315 GB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.413e-05/0.0964, allocations: 12 kB / 0.5315 GB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.09644, allocations: 15.92 kB / 0.5315 GB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.09652, allocations: 67.66 kB / 0.5316 GB, free: 14.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.09672, allocations: 115.5 kB / 0.5317 GB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09672, allocations: 0 / 0.5317 GB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09672, allocations: 0 / 0.5317 GB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.09673, allocations: 0 / 0.5317 GB, free: 14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005573/0.09729, allocations: 415 kB / 0.5321 GB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.09732, allocations: 12.03 kB / 0.5321 GB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.09739, allocations: 16.84 kB / 0.5321 GB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.0977, allocations: 200.1 kB / 0.5323 GB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.09771, allocations: 12.36 kB / 0.5323 GB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.09774, allocations: 12.38 kB / 0.5323 GB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.09794, allocations: 105.9 kB / 0.5324 GB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.09795, allocations: 3.938 kB / 0.5324 GB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.09797, allocations: 8 kB / 0.5324 GB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.09797, allocations: 0 / 0.5324 GB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.09809, allocations: 63.97 kB / 0.5325 GB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.09892, allocations: 0.4944 MB / 0.533 GB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.09902, allocations: 42.56 kB / 0.533 GB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.09906, allocations: 16.86 kB / 0.533 GB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.09907, allocations: 4 kB / 0.533 GB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.09909, allocations: 30.56 kB / 0.5331 GB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.0991, allocations: 0 / 0.5331 GB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002287/0.09933, allocations: 65.67 kB / 0.5331 GB, free: 12.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.09936, allocations: 51.41 kB / 0.5332 GB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.0995, allocations: 144.3 kB / 0.5333 GB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.09952, allocations: 29.69 kB / 0.5334 GB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.0996, allocations: 128 kB / 0.5335 GB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.09961, allocations: 11.91 kB / 0.5335 GB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.09965, allocations: 17.72 kB / 0.5335 GB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.09979, allocations: 326.8 kB / 0.5338 GB, free: 11.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.09982, allocations: 12 kB / 0.5338 GB, free: 11.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.09986, allocations: 30.56 kB / 0.5339 GB, free: 11.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.09995, allocations: 54.52 kB / 0.5339 GB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.09995, allocations: 0 / 0.5339 GB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001537/0.1001, allocations: 85.58 kB / 0.534 GB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1001, allocations: 7.984 kB / 0.534 GB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1001, allocations: 0 / 0.534 GB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1001, allocations: 0 / 0.534 GB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1002, allocations: 16 kB / 0.534 GB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1002, allocations: 3.938 kB / 0.534 GB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1003, allocations: 11.95 kB / 0.534 GB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1003, allocations: 4 kB / 0.534 GB, free: 11.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.904e-05/0.1004, allocations: 121.8 kB / 0.5341 GB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.1004, allocations: 7.953 kB / 0.5342 GB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.1004, allocations: 16.17 kB / 0.5342 GB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1004, allocations: 0 / 0.5342 GB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1004, allocations: 0 / 0.5342 GB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1004, allocations: 0 / 0.5342 GB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.1007, allocations: 197.6 kB / 0.5344 GB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1007, allocations: 4 kB / 0.5344 GB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.261e-05/0.1008, allocations: 8 kB / 0.5344 GB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1008, allocations: 0 / 0.5344 GB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.1008, allocations: 0 / 0.5344 GB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1008, allocations: 4 kB / 0.5344 GB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1008, allocations: 4.125 kB / 0.5344 GB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.101, allocations: 175.3 kB / 0.5345 GB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.101, allocations: 85.06 kB / 0.5346 GB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.101, allocations: 8.094 kB / 0.5346 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.1011, allocations: 0 / 0.5346 GB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1011, allocations: 7.984 kB / 0.5346 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1011, allocations: 0 / 0.5346 GB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.1012, allocations: 109.9 kB / 0.5347 GB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1012, allocations: 0 / 0.5347 GB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1015, allocations: 23.94 kB / 0.5348 GB, free: 10.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.0001197/0.1016, allocations: 95.25 kB / 0.5349 GB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.1017, allocations: 43.98 kB / 0.5349 GB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1017, allocations: 0 / 0.5349 GB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.1018, allocations: 12 kB / 0.5349 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.102, allocations: 11.92 kB / 0.5349 GB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.1026, allocations: 312.5 kB / 0.5352 GB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1029, allocations: 0.6963 MB / 0.5359 GB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.103, allocations: 11.44 kB / 0.5359 GB, free: 9.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.103, allocations: 4 kB / 0.5359 GB, free: 9.246 MB / 350.1 MB Notification: Performance of Templates: time 0.002944/0.1059, allocations: 1.121 MB / 0.537 GB, free: 8.121 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8682901118882] Failed to read output from testmodel.py, exit status != 0: 0.2591490359045565 0.127626404 0.027983760000000003 Calling exit ...