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.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.0007905/0.0007905, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.9008/0.9008, allocations: 177.1 MB / 200.2 MB, free: 5.957 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.001056/0.001056, allocations: 152.7 kB / 256.7 MB, free: 13.36 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.02323/0.02323, allocations: 6.655 MB / 319.8 MB, free: 12.01 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.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 1.803e-06/1.803e-06, allocations: 0 / 446.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.79e-05, allocations: 6.219 kB / 446.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002684/0.002712, allocations: 1.764 MB / 448.4 MB, free: 108.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007699/0.003482, allocations: 476.8 kB / 448.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.003573, allocations: 2.344 kB / 448.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.003691, allocations: 25.03 kB / 448.9 MB, free: 108.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.003766, allocations: 28.33 kB / 448.9 MB, free: 108.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.003916, allocations: 28.69 kB / 449 MB, free: 108.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004088, allocations: 123.2 kB / 449.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.004238, allocations: 38.16 kB / 449.1 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.004342, allocations: 67.88 kB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.004429, allocations: 36.5 kB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.004463, allocations: 10.38 kB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.004482, allocations: 10.06 kB / 449.2 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.004508, allocations: 28.14 kB / 449.3 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.00456, allocations: 38.09 kB / 449.3 MB, free: 108.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.004746, allocations: 127.1 kB / 449.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.00475, allocations: 4 kB / 449.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.004751, allocations: 0 / 449.4 MB, free: 108.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.004758, allocations: 2.766 kB / 449.4 MB, free: 108.1 MB / 410.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.0004513/0.005209, allocations: 337.1 kB / 449.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.005248, allocations: 10.08 kB / 449.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.005294, allocations: 11.42 kB / 449.8 MB, free: 107.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.00551, allocations: 137 kB / 449.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.005526, allocations: 10.7 kB / 449.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.005553, allocations: 7.344 kB / 449.9 MB, free: 107.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.005749, allocations: 131 kB / 450.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005759, allocations: 2.297 kB / 450.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.005775, allocations: 5.531 kB / 450.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.005781, allocations: 7.344 kB / 450.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.005894, allocations: 60.45 kB / 450.1 MB, free: 107.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.006516, allocations: 413.2 kB / 450.5 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.006615, allocations: 42.5 kB / 450.6 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.006645, allocations: 17.25 kB / 450.6 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.006653, allocations: 1.188 kB / 450.6 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.006672, allocations: 40.17 kB / 450.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.006673, allocations: 1.094 kB / 450.6 MB, free: 107.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001773/0.006851, allocations: 66.28 kB / 450.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.006871, allocations: 55.48 kB / 450.8 MB, free: 107 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.006955, allocations: 129.5 kB / 450.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.006963, allocations: 29.7 kB / 450.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.007005, allocations: 115.7 kB / 451 MB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.007019, allocations: 18.77 kB / 451 MB, free: 106.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.007054, allocations: 24.47 kB / 451.1 MB, free: 106.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.259e-05/0.007086, allocations: 326.2 kB / 451.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.007118, allocations: 12.03 kB / 451.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.007162, allocations: 34.33 kB / 451.4 MB, free: 106.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.554e-05/0.007227, allocations: 48.55 kB / 451.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.00723, allocations: 5.5 kB / 451.5 MB, free: 106.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.007348, allocations: 81.58 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.007366, allocations: 9.484 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007371, allocations: 1.094 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-05/0.007442, allocations: 7.812 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.007617, allocations: 14.27 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.007626, allocations: 1.781 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.007698, allocations: 6.203 kB / 451.6 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/0.007707, allocations: 2.344 kB / 451.6 MB, free: 106.3 MB / 410.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 6.905e-05/0.007776, allocations: 123.1 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.0078, allocations: 8.062 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.007823, allocations: 10.36 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007827, allocations: 1.312 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.007833, allocations: 0 / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007837, allocations: 2.203 kB / 451.7 MB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.007945, allocations: 133.5 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.007947, allocations: 0 / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.007997, allocations: 10.28 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.008001, allocations: 0.6094 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.008008, allocations: 5.062 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.00801, allocations: 10.92 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.008012, allocations: 1.859 kB / 451.9 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.008152, allocations: 161 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.008167, allocations: 9.422 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.008179, allocations: 6 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.008271, allocations: 3.156 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.008285, allocations: 7.016 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.008288, allocations: 1.375 kB / 452.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.008322, allocations: 95.64 kB / 452.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008323, allocations: 1.094 kB / 452.2 MB, free: 105.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.008491, allocations: 32.3 kB / 452.2 MB, free: 105.7 MB / 410.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.76e-05/0.008558, allocations: 93.67 kB / 452.3 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.872e-05/0.008647, allocations: 34.33 kB / 452.3 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.008649, allocations: 0 / 452.3 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.008664, allocations: 16.8 kB / 452.4 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.008855, allocations: 5.672 kB / 452.4 MB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.009238, allocations: 278.9 kB / 452.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.00929, allocations: 84.3 kB / 452.7 MB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.009313, allocations: 11.53 kB / 452.7 MB, free: 105.3 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.009313, allocations: 4 kB / 452.7 MB, free: 105.3 MB / 410.7 MB Notification: Performance of Templates: time 0.001862/0.01118, allocations: 1.108 MB / 453.8 MB, free: 105.2 MB / 410.7 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: 4.298830886371434] Failed to read output from testmodel.py, exit status != 0: 0.017488867975771427 0.024034344000000003 0.017606379000000002 Calling exit ...