Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.0008932/0.0008932, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.9046/0.9046, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.001035/0.001035, allocations: 156.6 kB / 256.7 MB, free: 13.35 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.02197/0.02197, allocations: 6.661 MB / 319.8 MB, free: 26.78 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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.463e-05, allocations: 2.281 kB / 446.7 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002618/0.002643, allocations: 1.769 MB / 448.4 MB, free: 35.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.00331, allocations: 482.7 kB / 448.9 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.003391, allocations: 0 / 448.9 MB, free: 34.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.003496, allocations: 23.78 kB / 448.9 MB, free: 34.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.003562, allocations: 31.7 kB / 448.9 MB, free: 34.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.003697, allocations: 31.91 kB / 449 MB, free: 34.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.003847, allocations: 127.4 kB / 449.1 MB, free: 34.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.00398, allocations: 33.23 kB / 449.1 MB, free: 34.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.004061, allocations: 75.73 kB / 449.2 MB, free: 34.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.004134, allocations: 31.91 kB / 449.2 MB, free: 34.54 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.004165, allocations: 12 kB / 449.2 MB, free: 34.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.004181, allocations: 8 kB / 449.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.004204, allocations: 27.91 kB / 449.3 MB, free: 34.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.004243, allocations: 31.92 kB / 449.3 MB, free: 34.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.004396, allocations: 131.5 kB / 449.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004398, allocations: 0 / 449.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004399, allocations: 4 kB / 449.4 MB, free: 34.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004403, allocations: 0 / 449.4 MB, free: 34.33 MB / 330.7 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.0004095/0.004813, allocations: 337.9 kB / 449.8 MB, free: 33.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.004849, allocations: 8.031 kB / 449.8 MB, free: 33.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.00489, allocations: 16.83 kB / 449.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.00507, allocations: 137.6 kB / 449.9 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005084, allocations: 8.375 kB / 449.9 MB, free: 33.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.005109, allocations: 12.36 kB / 450 MB, free: 33.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.005286, allocations: 131.9 kB / 450.1 MB, free: 33.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.005295, allocations: 4.188 kB / 450.1 MB, free: 33.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.005311, allocations: 4.375 kB / 450.1 MB, free: 33.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005316, allocations: 7.938 kB / 450.1 MB, free: 33.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.00542, allocations: 55.98 kB / 450.2 MB, free: 33.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.00598, allocations: 410.4 kB / 450.6 MB, free: 33.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.006071, allocations: 46.56 kB / 450.6 MB, free: 33.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.006099, allocations: 16.86 kB / 450.6 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.006107, allocations: 4 kB / 450.6 MB, free: 33.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.006126, allocations: 42.58 kB / 450.7 MB, free: 32.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.006128, allocations: 0 / 450.7 MB, free: 32.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000167/0.006295, allocations: 65.58 kB / 450.7 MB, free: 32.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.006315, allocations: 51.41 kB / 450.8 MB, free: 32.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.006386, allocations: 122.1 kB / 450.9 MB, free: 32.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.006394, allocations: 29.7 kB / 450.9 MB, free: 32.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.006432, allocations: 123.8 kB / 451 MB, free: 32.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.006442, allocations: 11.91 kB / 451.1 MB, free: 32.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.006476, allocations: 21.72 kB / 451.1 MB, free: 32.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.634e-05/0.006502, allocations: 322.8 kB / 451.4 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.441e-05/0.006527, allocations: 12 kB / 451.4 MB, free: 32.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.006562, allocations: 38.55 kB / 451.4 MB, free: 32.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.853e-05/0.006621, allocations: 54.45 kB / 451.5 MB, free: 32.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006623, allocations: 0 / 451.5 MB, free: 32.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.006724, allocations: 81.77 kB / 451.6 MB, free: 31.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.006736, allocations: 11.94 kB / 451.6 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006741, allocations: 0 / 451.6 MB, free: 31.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.006754, allocations: 4.062 kB / 451.6 MB, free: 31.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.006845, allocations: 23.91 kB / 451.6 MB, free: 31.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00685, allocations: 4 kB / 451.6 MB, free: 31.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.006887, allocations: 7.891 kB / 451.6 MB, free: 31.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006892, allocations: 4 kB / 451.6 MB, free: 31.93 MB / 330.7 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 4.7e-05/0.006939, allocations: 113.8 kB / 451.7 MB, free: 31.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.006964, allocations: 11.88 kB / 451.8 MB, free: 31.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.006985, allocations: 11.98 kB / 451.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.006987, allocations: 0 / 451.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.00699, allocations: 0 / 451.8 MB, free: 31.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006993, allocations: 4 kB / 451.8 MB, free: 31.78 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.007115, allocations: 137.2 kB / 451.9 MB, free: 31.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007117, allocations: 4 kB / 451.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.007177, allocations: 8 kB / 451.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007179, allocations: 0 / 451.9 MB, free: 31.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.007186, allocations: 3.938 kB / 451.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007187, allocations: 0 / 451.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007188, allocations: 0 / 451.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.007306, allocations: 163.5 kB / 452.1 MB, free: 31.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.00732, allocations: 7.984 kB / 452.1 MB, free: 31.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.007334, allocations: 8 kB / 452.1 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.007412, allocations: 4 kB / 452.1 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.007426, allocations: 3.984 kB / 452.1 MB, free: 31.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.007431, allocations: 8 kB / 452.1 MB, free: 31.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.007468, allocations: 98.89 kB / 452.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007468, allocations: 0 / 452.2 MB, free: 31.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.007747, allocations: 27.89 kB / 452.2 MB, free: 31.27 MB / 330.7 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 6.527e-05/0.007813, allocations: 91.25 kB / 452.3 MB, free: 31.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.524e-05/0.007908, allocations: 44.05 kB / 452.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007909, allocations: 0 / 452.4 MB, free: 31.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.007926, allocations: 8 kB / 452.4 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.008224, allocations: 13.47 kB / 452.4 MB, free: 31.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.008633, allocations: 275.3 kB / 452.7 MB, free: 30.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.008681, allocations: 84.27 kB / 452.7 MB, free: 30.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.008706, allocations: 12.5 kB / 452.8 MB, free: 30.7 MB / 330.7 MB Notification: Performance of SimCode: time 4.5e-07/0.008707, allocations: 0 / 452.8 MB, free: 30.7 MB / 330.7 MB Notification: Performance of Templates: time 0.002102/0.01081, allocations: 1.098 MB / 453.8 MB, free: 29.6 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.275919307954609] Failed to read output from testmodel.py, exit status != 0: 0.016725650988519192 0.029072786000000003 0.021920139 Calling exit ...