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.0018/0.0018, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.496/1.496, allocations: 177.2 MB / 200.1 MB, free: 9.242 MB / 190.1 MB " [Timeout remaining time 178] 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.001959/0.001959, allocations: 153.5 kB / 256.6 MB, free: 0.7578 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.04856/0.04856, allocations: 6.666 MB / 319.6 MB, free: 12.06 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.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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 87.62 kB / 446.4 MB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.365, allocations: 55.58 MB / 0.4902 GB, free: 76.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002005/0.367, allocations: 1.24 MB / 0.4914 GB, free: 75.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001299/0.3672, allocations: 18.34 kB / 0.4915 GB, free: 75.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3672, allocations: 3.281 kB / 0.4915 GB, free: 75.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.3672, allocations: 0 / 0.4915 GB, free: 75.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.3673, allocations: 7.922 kB / 0.4915 GB, free: 75.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.809e-05/0.3674, allocations: 3.375 kB / 0.4915 GB, free: 75.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.612e-05/0.3674, allocations: 14.25 kB / 0.4915 GB, free: 75.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.3674, allocations: 6.562 kB / 0.4915 GB, free: 75.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.3675, allocations: 11.03 kB / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.3675, allocations: 3.062 kB / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3675, allocations: 0 / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.3676, allocations: 3.219 kB / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3676, allocations: 0 / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3676, allocations: 14.56 kB / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.576e-05/0.3677, allocations: 6.5 kB / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3677, allocations: 0 / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3677, allocations: 0 / 0.4915 GB, free: 75.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3677, allocations: 7.938 kB / 0.4915 GB, free: 75.37 MB / 446.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.0002916/0.368, allocations: 246.8 kB / 0.4918 GB, free: 75.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.368, allocations: 9.438 kB / 0.4918 GB, free: 75.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.368, allocations: 8.016 kB / 0.4918 GB, free: 75.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.806e-05/0.3681, allocations: 117.8 kB / 0.4919 GB, free: 74.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3681, allocations: 3.812 kB / 0.4919 GB, free: 74.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3681, allocations: 384 / 0.4919 GB, free: 74.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.093e-05/0.3682, allocations: 40.23 kB / 0.4919 GB, free: 74.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3682, allocations: 192 / 0.4919 GB, free: 74.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3682, allocations: 3.938 kB / 0.4919 GB, free: 74.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.3682, allocations: 4 kB / 0.4919 GB, free: 74.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.3683, allocations: 7.25 kB / 0.492 GB, free: 74.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.3684, allocations: 107 kB / 0.4921 GB, free: 74.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.3685, allocations: 35.05 kB / 0.4921 GB, free: 74.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.3685, allocations: 15.34 kB / 0.4921 GB, free: 74.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3685, allocations: 0 / 0.4921 GB, free: 74.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.3685, allocations: 33.81 kB / 0.4921 GB, free: 74.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3685, allocations: 0 / 0.4921 GB, free: 74.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000134/0.3687, allocations: 49.64 kB / 0.4922 GB, free: 74.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.3687, allocations: 55.34 kB / 0.4922 GB, free: 74.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.3687, allocations: 107.5 kB / 0.4923 GB, free: 74.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3687, allocations: 29.7 kB / 0.4924 GB, free: 74.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.3688, allocations: 80.14 kB / 0.4924 GB, free: 74.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.3688, allocations: 15.06 kB / 0.4925 GB, free: 74.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3688, allocations: 20.23 kB / 0.4925 GB, free: 74.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3689, allocations: 310.8 kB / 0.4928 GB, free: 74.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.3689, allocations: 7.25 kB / 0.4928 GB, free: 74.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.3689, allocations: 3.25 kB / 0.4928 GB, free: 74.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.3689, allocations: 21.67 kB / 0.4928 GB, free: 74.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3689, allocations: 0 / 0.4928 GB, free: 74.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.772e-05/0.369, allocations: 45.55 kB / 0.4928 GB, free: 73.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.369, allocations: 14.38 kB / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.369, allocations: 0 / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.369, allocations: 4.453 kB / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.3691, allocations: 6 kB / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3691, allocations: 3.062 kB / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.3691, allocations: 3.938 kB / 0.4929 GB, free: 73.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3691, allocations: 4 kB / 0.4929 GB, free: 73.97 MB / 446.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 4.746e-05/0.3692, allocations: 112.3 kB / 0.493 GB, free: 73.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3692, allocations: 3.953 kB / 0.493 GB, free: 73.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.3692, allocations: 3.688 kB / 0.493 GB, free: 73.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3692, allocations: 15.11 kB / 0.493 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3692, allocations: 0 / 0.493 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3692, allocations: 0 / 0.493 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.009e-05/0.3693, allocations: 103.8 kB / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3693, allocations: 0 / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.3693, allocations: 9.219 kB / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3693, allocations: 0 / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.3694, allocations: 0 / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.3694, allocations: 0 / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3694, allocations: 3.938 kB / 0.4931 GB, free: 73.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3695, allocations: 82.12 kB / 0.4932 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.3695, allocations: 11 kB / 0.4932 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3695, allocations: 0 / 0.4932 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.582e-05/0.3695, allocations: 0 / 0.4932 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.3695, allocations: 11.31 kB / 0.4932 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3695, allocations: 2.969 kB / 0.4932 GB, free: 73.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.143e-05/0.3695, allocations: 78.41 kB / 0.4933 GB, free: 73.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3695, allocations: 0 / 0.4933 GB, free: 73.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.3697, allocations: 3.062 kB / 0.4933 GB, free: 73.55 MB / 446.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 6.785e-05/0.3698, allocations: 95.5 kB / 0.4934 GB, free: 73.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.3699, allocations: 24.92 kB / 0.4934 GB, free: 73.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3699, allocations: 3.938 kB / 0.4934 GB, free: 73.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.3699, allocations: 6.438 kB / 0.4934 GB, free: 73.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.37, allocations: 6.188 kB / 0.4934 GB, free: 73.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.3704, allocations: 186.7 kB / 0.4936 GB, free: 73.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.3704, allocations: 65.33 kB / 0.4937 GB, free: 73.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.3705, allocations: 3.938 kB / 0.4937 GB, free: 73.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.3705, allocations: 8.5 kB / 0.4937 GB, free: 73.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3705, allocations: 3.938 kB / 0.4937 GB, free: 73.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002359/0.3728, allocations: 245.9 kB / 0.4939 GB, free: 73.12 MB / 446.1 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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.225252682925202] Failed to read output from testmodel.py, exit status != 0: 0.3815802609315142 0.39030619800000005 0.020374607000000003 Calling exit ...