Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.0008533/0.0008533, allocations: 72.5 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.923/0.923, allocations: 177.2 MB / 200.2 MB, free: 5.93 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.0009627/0.0009627, allocations: 156.6 kB / 256.7 MB, free: 13.34 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.02167/0.02167, allocations: 6.659 MB / 319.8 MB, free: 26.76 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.344e-05, allocations: 17.17 kB / 446.6 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001072/0.001086, allocations: 1.226 MB / 447.9 MB, free: 35.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.001195, allocations: 24.3 kB / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.001216, allocations: 0 / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.001233, allocations: 0 / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.001271, allocations: 15.92 kB / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.131e-05/0.001362, allocations: 3.984 kB / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.00141, allocations: 19.88 kB / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.00145, allocations: 3.984 kB / 447.9 MB, free: 35.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.001482, allocations: 4 kB / 447.9 MB, free: 35.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.001527, allocations: 4 kB / 447.9 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.001546, allocations: 0 / 447.9 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.001553, allocations: 0 / 447.9 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.001566, allocations: 11.98 kB / 448 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.001581, allocations: 7.875 kB / 448 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.463e-05/0.001635, allocations: 15.92 kB / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.001637, allocations: 0 / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.001638, allocations: 0 / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.001641, allocations: 4 kB / 448 MB, free: 35.79 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002247/0.001866, allocations: 246.4 kB / 448.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.001896, allocations: 8.031 kB / 448.2 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.001921, allocations: 8.891 kB / 448.2 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.916e-05/0.00197, allocations: 109.8 kB / 448.3 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.001981, allocations: 384 / 448.3 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.001998, allocations: 4.375 kB / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.622e-05/0.002064, allocations: 38.2 kB / 448.4 MB, free: 35.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.002071, allocations: 4.188 kB / 448.4 MB, free: 35.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.002079, allocations: 384 / 448.4 MB, free: 35.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.002082, allocations: 384 / 448.4 MB, free: 35.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.817e-05/0.00211, allocations: 11.92 kB / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.698e-05/0.002197, allocations: 101.3 kB / 448.5 MB, free: 35.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.00225, allocations: 34.61 kB / 448.5 MB, free: 35.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.00227, allocations: 20.8 kB / 448.6 MB, free: 35.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.002278, allocations: 0 / 448.6 MB, free: 35.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.00229, allocations: 30.56 kB / 448.6 MB, free: 35.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.002291, allocations: 3.984 kB / 448.6 MB, free: 35.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001037/0.002395, allocations: 49.78 kB / 448.6 MB, free: 35.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.002414, allocations: 55.41 kB / 448.7 MB, free: 34.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.964e-05/0.002443, allocations: 109.7 kB / 448.8 MB, free: 34.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-06/0.002448, allocations: 25.7 kB / 448.8 MB, free: 34.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.002461, allocations: 80.14 kB / 448.9 MB, free: 34.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.00248, allocations: 15.84 kB / 448.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.002499, allocations: 17.7 kB / 448.9 MB, free: 34.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.067e-05/0.00252, allocations: 318.8 kB / 449.3 MB, free: 34.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.00253, allocations: 3.938 kB / 449.3 MB, free: 34.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-06/0.002537, allocations: 4 kB / 449.3 MB, free: 34.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.002565, allocations: 24.84 kB / 449.3 MB, free: 34.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.002567, allocations: 4 kB / 449.3 MB, free: 34.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.348e-05/0.002601, allocations: 49.7 kB / 449.3 MB, free: 34.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.00261, allocations: 4 kB / 449.3 MB, free: 34.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.002614, allocations: 0 / 449.3 MB, free: 34.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.002624, allocations: 0 / 449.3 MB, free: 34.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.002692, allocations: 11.98 kB / 449.4 MB, free: 34.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.002696, allocations: 0 / 449.4 MB, free: 34.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.002706, allocations: 7.875 kB / 449.4 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-06/0.002709, allocations: 4 kB / 449.4 MB, free: 34.23 MB / 330.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 2.732e-05/0.002737, allocations: 113.8 kB / 449.5 MB, free: 34.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-06/0.002741, allocations: 7.953 kB / 449.5 MB, free: 34.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.002753, allocations: 7.688 kB / 449.5 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.42e-07/0.002754, allocations: 0 / 449.5 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.002757, allocations: 3.984 kB / 449.5 MB, free: 34.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.002759, allocations: 3.938 kB / 449.5 MB, free: 34.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.845e-05/0.002788, allocations: 101.3 kB / 449.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.002788, allocations: 0 / 449.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.002823, allocations: 8 kB / 449.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.002825, allocations: 3.984 kB / 449.6 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00283, allocations: 0 / 449.6 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.002831, allocations: 11.98 kB / 449.6 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002832, allocations: 0 / 449.6 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.83e-05/0.0029, allocations: 77 kB / 449.7 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.002904, allocations: 0.5625 kB / 449.7 MB, free: 33.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.002913, allocations: 8.031 kB / 449.7 MB, free: 33.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.002919, allocations: 0 / 449.7 MB, free: 33.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.002931, allocations: 3.984 kB / 449.7 MB, free: 33.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.002932, allocations: 3.938 kB / 449.7 MB, free: 33.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.002943, allocations: 83.27 kB / 449.8 MB, free: 33.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002943, allocations: 0 / 449.8 MB, free: 33.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001118/0.003055, allocations: 7.938 kB / 449.8 MB, free: 33.73 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 4.231e-05/0.003097, allocations: 95.31 kB / 449.9 MB, free: 33.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.654e-05/0.003154, allocations: 15.98 kB / 449.9 MB, free: 33.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.003155, allocations: 0 / 449.9 MB, free: 33.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.003162, allocations: 11.94 kB / 449.9 MB, free: 33.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.756e-05/0.00326, allocations: 10.75 kB / 449.9 MB, free: 33.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.003479, allocations: 170.5 kB / 450.1 MB, free: 33.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.015e-05/0.003499, allocations: 63.34 kB / 450.2 MB, free: 33.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.003515, allocations: 8.5 kB / 450.2 MB, free: 33.3 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.003516, allocations: 0 / 450.2 MB, free: 33.3 MB / 330.7 MB Notification: Performance of Templates: time 0.001024/0.00454, allocations: 0.5 MB / 450.7 MB, free: 32.8 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.010556031018496] Failed to read output from testmodel.py, exit status != 0: 0.0081730792298913 0.013948653 0.011110177 Calling exit ...