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.001247/0.001247, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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 1.306/1.306, allocations: 177.1 MB / 199.4 MB, free: 8.426 MB / 190.1 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.001486/0.001486, allocations: 165.1 kB / 256 MB, free: 4.324 MB / 238.1 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.05814/0.05814, allocations: 6.658 MB / 319 MB, free: 5.387 MB / 302.1 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.252e-06/1.252e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.257e-05, allocations: 6.219 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001166/0.001189, allocations: 0.4933 MB / 446.4 MB, free: 24.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001254/0.001314, allocations: 11.92 kB / 446.4 MB, free: 24.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.00134, allocations: 0 / 446.4 MB, free: 24.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.001353, allocations: 0 / 446.4 MB, free: 24.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.001389, allocations: 7.938 kB / 446.4 MB, free: 24.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.974e-05/0.001489, allocations: 11.91 kB / 446.4 MB, free: 24.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.001535, allocations: 8 kB / 446.4 MB, free: 24.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.001577, allocations: 0 / 446.4 MB, free: 24.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.001606, allocations: 7.984 kB / 446.4 MB, free: 24.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.001652, allocations: 0 / 446.4 MB, free: 24.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.001667, allocations: 8 kB / 446.4 MB, free: 24.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.674e-06/0.001675, allocations: 3.938 kB / 446.4 MB, free: 24.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.001686, allocations: 0 / 446.4 MB, free: 24.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.001706, allocations: 7.938 kB / 446.4 MB, free: 24.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.001768, allocations: 15.97 kB / 446.5 MB, free: 24.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00177, allocations: 0 / 446.5 MB, free: 24.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.52e-07/0.00177, allocations: 0 / 446.5 MB, free: 24.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.001775, allocations: 0 / 446.5 MB, free: 24.63 MB / 334.1 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.0002498/0.002025, allocations: 246.4 kB / 446.7 MB, free: 24.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.002054, allocations: 15.98 kB / 446.7 MB, free: 24.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.00208, allocations: 8.891 kB / 446.7 MB, free: 24.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.801e-05/0.002138, allocations: 105.8 kB / 446.8 MB, free: 24.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002148, allocations: 384 / 446.8 MB, free: 24.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.002164, allocations: 384 / 446.8 MB, free: 24.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.008e-05/0.002234, allocations: 38.25 kB / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.002242, allocations: 192 / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.002249, allocations: 4.375 kB / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.002253, allocations: 384 / 446.9 MB, free: 24.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/0.002284, allocations: 11.88 kB / 446.9 MB, free: 24.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.595e-05/0.00238, allocations: 109.2 kB / 447 MB, free: 24.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.002439, allocations: 30.72 kB / 447 MB, free: 23.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.002462, allocations: 20.84 kB / 447 MB, free: 23.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.002472, allocations: 0 / 447 MB, free: 23.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.002487, allocations: 34.56 kB / 447.1 MB, free: 23.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.002487, allocations: 0 / 447.1 MB, free: 23.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001163/0.002604, allocations: 49.81 kB / 447.1 MB, free: 23.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.00263, allocations: 51.41 kB / 447.2 MB, free: 23.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.535e-05/0.002665, allocations: 109.8 kB / 447.3 MB, free: 23.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-06/0.002671, allocations: 25.7 kB / 447.3 MB, free: 23.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.002687, allocations: 84.14 kB / 447.4 MB, free: 23.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.002706, allocations: 15.84 kB / 447.4 MB, free: 23.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.002728, allocations: 17.72 kB / 447.4 MB, free: 23.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.002763, allocations: 314.8 kB / 447.7 MB, free: 23.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.002776, allocations: 7.984 kB / 447.7 MB, free: 23.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.002786, allocations: 4 kB / 447.7 MB, free: 23.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.93e-05/0.002815, allocations: 16.86 kB / 447.8 MB, free: 23.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.002816, allocations: 0 / 447.8 MB, free: 23.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.304e-05/0.002869, allocations: 53.62 kB / 447.8 MB, free: 23.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.002879, allocations: 8 kB / 447.8 MB, free: 23.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.002882, allocations: 0 / 447.8 MB, free: 23.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.002895, allocations: 0 / 447.8 MB, free: 23.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.002969, allocations: 8 kB / 447.8 MB, free: 23.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.002973, allocations: 4 kB / 447.8 MB, free: 23.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.002988, allocations: 7.922 kB / 447.8 MB, free: 23.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-06/0.002991, allocations: 0 / 447.8 MB, free: 23.08 MB / 334.1 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 3.619e-05/0.003027, allocations: 113.8 kB / 448 MB, free: 22.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.003035, allocations: 3.953 kB / 448 MB, free: 22.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.003051, allocations: 7.688 kB / 448 MB, free: 22.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.003052, allocations: 0 / 448 MB, free: 22.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.003055, allocations: 4 kB / 448 MB, free: 22.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.003058, allocations: 3.938 kB / 448 MB, free: 22.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.064e-05/0.003099, allocations: 101.3 kB / 448.1 MB, free: 22.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.003099, allocations: 4 kB / 448.1 MB, free: 22.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.003157, allocations: 11.94 kB / 448.1 MB, free: 22.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.003159, allocations: 0 / 448.1 MB, free: 22.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.003166, allocations: 7.938 kB / 448.1 MB, free: 22.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.003167, allocations: 4 kB / 448.1 MB, free: 22.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003168, allocations: 0 / 448.1 MB, free: 22.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.003262, allocations: 75.22 kB / 448.2 MB, free: 22.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.003267, allocations: 7.984 kB / 448.2 MB, free: 22.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.003277, allocations: 0 / 448.2 MB, free: 22.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.56e-05/0.003292, allocations: 4 kB / 448.2 MB, free: 22.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.003304, allocations: 4 kB / 448.2 MB, free: 22.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.003306, allocations: 4.062 kB / 448.2 MB, free: 22.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 1.642e-05/0.003322, allocations: 75.66 kB / 448.3 MB, free: 22.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.003322, allocations: 0 / 448.3 MB, free: 22.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001704/0.003493, allocations: 7.938 kB / 448.3 MB, free: 22.59 MB / 334.1 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 5.096e-05/0.003544, allocations: 95.23 kB / 448.4 MB, free: 22.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.003619, allocations: 24.06 kB / 448.4 MB, free: 22.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.003621, allocations: 0 / 448.4 MB, free: 22.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.003632, allocations: 4 kB / 448.4 MB, free: 22.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.003767, allocations: 14.11 kB / 448.4 MB, free: 22.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.003947, allocations: 108.8 kB / 448.5 MB, free: 22.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.687e-05/0.003974, allocations: 59.36 kB / 448.6 MB, free: 22.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.003989, allocations: 3.984 kB / 448.6 MB, free: 22.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.004006, allocations: 8.5 kB / 448.6 MB, free: 22.23 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.004006, allocations: 3.938 kB / 448.6 MB, free: 22.22 MB / 334.1 MB Notification: Performance of Templates: time 0.002243/0.006249, allocations: 249.8 kB / 448.8 MB, free: 21.98 MB / 334.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.969590485095978] Failed to read output from testmodel.py, exit status != 0: 0.011819470673799515 0.021077183000000003 0.017357576 Calling exit ...