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.001607/0.001607, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.477/1.477, allocations: 230.6 MB / 252.6 MB, free: 8.32 MB / 206.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.001788/0.001788, allocations: 222.1 kB / 309.2 MB, free: 3.16 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.05429/0.05429, allocations: 8.902 MB / 374.6 MB, free: 1.926 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: 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.002721/0.002721, allocations: 79.88 kB / 0.4897 GB, free: 6.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2967, allocations: 55.61 MB / 0.544 GB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001526/0.2982, allocations: 0.4955 MB / 0.5445 GB, free: 26.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001557/0.2984, allocations: 22.75 kB / 0.5445 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2984, allocations: 0 / 0.5445 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2984, allocations: 0 / 0.5445 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.2985, allocations: 0 / 0.5445 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.2986, allocations: 7.125 kB / 0.5445 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.354e-05/0.2987, allocations: 7.344 kB / 0.5445 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.2987, allocations: 10.59 kB / 0.5445 GB, free: 26.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.2987, allocations: 7.938 kB / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.2988, allocations: 7.188 kB / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2988, allocations: 0 / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.2988, allocations: 0 / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2989, allocations: 6.594 kB / 0.5445 GB, free: 26.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.2989, allocations: 7.922 kB / 0.5445 GB, free: 26.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.573e-05/0.2989, allocations: 6.688 kB / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2989, allocations: 0 / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2989, allocations: 0 / 0.5445 GB, free: 26.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2989, allocations: 0 / 0.5445 GB, free: 26.75 MB / 382.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.0003497/0.2993, allocations: 251.2 kB / 0.5448 GB, free: 26.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2993, allocations: 9.656 kB / 0.5448 GB, free: 26.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2994, allocations: 4.891 kB / 0.5448 GB, free: 26.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.2994, allocations: 111.7 kB / 0.5449 GB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.2995, allocations: 4.375 kB / 0.5449 GB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.2995, allocations: 3.719 kB / 0.5449 GB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.467e-05/0.2996, allocations: 36.7 kB / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2996, allocations: 192 / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2996, allocations: 7.922 kB / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2996, allocations: 0 / 0.5449 GB, free: 26.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.2996, allocations: 14.5 kB / 0.545 GB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2998, allocations: 123.2 kB / 0.5451 GB, free: 26.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.2999, allocations: 34.91 kB / 0.5451 GB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.2999, allocations: 15.8 kB / 0.5451 GB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2999, allocations: 3.062 kB / 0.5451 GB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.2999, allocations: 37.89 kB / 0.5452 GB, free: 26.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2999, allocations: 0 / 0.5452 GB, free: 26.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001454/0.3001, allocations: 50.14 kB / 0.5452 GB, free: 26.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.3001, allocations: 51.41 kB / 0.5453 GB, free: 25.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.3001, allocations: 97.11 kB / 0.5454 GB, free: 25.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3001, allocations: 25.7 kB / 0.5454 GB, free: 25.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.3002, allocations: 86.67 kB / 0.5455 GB, free: 25.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3002, allocations: 7.906 kB / 0.5455 GB, free: 25.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.3002, allocations: 16.88 kB / 0.5455 GB, free: 25.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.3003, allocations: 318 kB / 0.5458 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.3003, allocations: 18.67 kB / 0.5458 GB, free: 25.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.3003, allocations: 3.125 kB / 0.5458 GB, free: 25.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.3003, allocations: 15.2 kB / 0.5458 GB, free: 25.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3003, allocations: 0 / 0.5458 GB, free: 25.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.572e-05/0.3004, allocations: 46.03 kB / 0.5459 GB, free: 25.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3004, allocations: 6.281 kB / 0.5459 GB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3004, allocations: 7.875 kB / 0.5459 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3004, allocations: 0 / 0.5459 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.3005, allocations: 17 kB / 0.5459 GB, free: 25.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3005, allocations: 3.938 kB / 0.5459 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.3005, allocations: 3.938 kB / 0.5459 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.3005, allocations: 4 kB / 0.5459 GB, free: 25.32 MB / 382.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.5e-05/0.3006, allocations: 108.9 kB / 0.546 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.3006, allocations: 3.953 kB / 0.546 GB, free: 25.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.3006, allocations: 10.84 kB / 0.546 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3006, allocations: 0.5156 kB / 0.546 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3006, allocations: 0 / 0.546 GB, free: 25.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3006, allocations: 11.47 kB / 0.546 GB, free: 25.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.52e-05/0.3007, allocations: 123.3 kB / 0.5462 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3007, allocations: 3.469 kB / 0.5462 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.3007, allocations: 6.469 kB / 0.5462 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3007, allocations: 3.984 kB / 0.5462 GB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3008, allocations: 3.938 kB / 0.5462 GB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3008, allocations: 3.984 kB / 0.5462 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3008, allocations: 3.125 kB / 0.5462 GB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.834e-05/0.3009, allocations: 83.7 kB / 0.5463 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.3009, allocations: 0 / 0.5463 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3009, allocations: 7.938 kB / 0.5463 GB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.597e-05/0.3009, allocations: 3.406 kB / 0.5463 GB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3009, allocations: 0 / 0.5463 GB, free: 24.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.3009, allocations: 0 / 0.5463 GB, free: 24.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.044e-05/0.3009, allocations: 81.77 kB / 0.5463 GB, free: 24.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3009, allocations: 0 / 0.5463 GB, free: 24.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001733/0.3011, allocations: 3.25 kB / 0.5463 GB, free: 24.86 MB / 382.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.164e-05/0.3012, allocations: 95.97 kB / 0.5464 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.3013, allocations: 17.2 kB / 0.5465 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3013, allocations: 3.938 kB / 0.5465 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.3013, allocations: 7.094 kB / 0.5465 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3014, allocations: 8.188 kB / 0.5465 GB, free: 24.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.3016, allocations: 118.2 kB / 0.5466 GB, free: 24.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3018, allocations: 0.6756 MB / 0.5472 GB, free: 23.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.3018, allocations: 7.281 kB / 0.5473 GB, free: 23.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.3018, allocations: 7.438 kB / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3018, allocations: 0 / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of Templates: time 0.002569/0.3044, allocations: 266.7 kB / 0.5475 GB, free: 23.88 MB / 382.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: 4.976107995025814] Failed to read output from testmodel.py, exit status != 0: 0.31308848899789155 0.325372172 0.023829396000000003 Calling exit ...