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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 114.9 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 191.6 kB / 295.1 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03909/0.03909, allocations: 8.795 MB / 356 MB, free: 15.92 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002239/0.002239, allocations: 87.86 kB / 473.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2502, allocations: 51.56 MB / 0.5125 GB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002772/0.253, allocations: 1.802 MB / 0.5143 GB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.2537, allocations: 466.6 kB / 0.5148 GB, free: 10.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.2538, allocations: 1.156 kB / 0.5148 GB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2539, allocations: 23.03 kB / 0.5148 GB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.254, allocations: 30.44 kB / 0.5148 GB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.2542, allocations: 31.67 kB / 0.5148 GB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.2544, allocations: 118.9 kB / 0.5149 GB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2545, allocations: 45.31 kB / 0.515 GB, free: 10.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.2546, allocations: 47.02 kB / 0.515 GB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.2547, allocations: 49.38 kB / 0.5151 GB, free: 10.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.2547, allocations: 10.28 kB / 0.5151 GB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.2547, allocations: 10.12 kB / 0.5151 GB, free: 10.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2548, allocations: 27.34 kB / 0.5151 GB, free: 10.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.2548, allocations: 54.14 kB / 0.5152 GB, free: 10.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.255, allocations: 124.4 kB / 0.5153 GB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.255, allocations: 5.094 kB / 0.5153 GB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.255, allocations: 3.938 kB / 0.5153 GB, free: 10.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.255, allocations: 0 / 0.5153 GB, free: 10.29 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005212/0.2556, allocations: 415 kB / 0.5157 GB, free: 9.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2556, allocations: 12.03 kB / 0.5157 GB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.2557, allocations: 12.84 kB / 0.5157 GB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2559, allocations: 196.2 kB / 0.5159 GB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2559, allocations: 8.375 kB / 0.5159 GB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2559, allocations: 16.38 kB / 0.5159 GB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2561, allocations: 105.9 kB / 0.516 GB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2562, allocations: 3.984 kB / 0.516 GB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2562, allocations: 7.938 kB / 0.516 GB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2562, allocations: 4 kB / 0.5161 GB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2563, allocations: 55.98 kB / 0.5161 GB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.257, allocations: 0.4905 MB / 0.5166 GB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.2571, allocations: 50.44 kB / 0.5166 GB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.2572, allocations: 20.94 kB / 0.5167 GB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2572, allocations: 4 kB / 0.5167 GB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2572, allocations: 30.56 kB / 0.5167 GB, free: 8.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2572, allocations: 4 kB / 0.5167 GB, free: 8.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.2574, allocations: 61.64 kB / 0.5167 GB, free: 8.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2574, allocations: 55.41 kB / 0.5168 GB, free: 8.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2576, allocations: 141.8 kB / 0.5169 GB, free: 8.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2576, allocations: 25.7 kB / 0.517 GB, free: 8.383 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.2577, allocations: 124 kB / 0.5171 GB, free: 8.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.2577, allocations: 15.89 kB / 0.5171 GB, free: 8.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2577, allocations: 17.72 kB / 0.5171 GB, free: 8.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2579, allocations: 330.8 kB / 0.5174 GB, free: 7.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.2579, allocations: 12 kB / 0.5174 GB, free: 7.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.258, allocations: 34.56 kB / 0.5175 GB, free: 7.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.258, allocations: 46.52 kB / 0.5175 GB, free: 7.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.258, allocations: 0 / 0.5175 GB, free: 7.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001156/0.2582, allocations: 81.58 kB / 0.5176 GB, free: 7.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2582, allocations: 8 kB / 0.5176 GB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2582, allocations: 0 / 0.5176 GB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2582, allocations: 0 / 0.5176 GB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.2583, allocations: 15.98 kB / 0.5176 GB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2583, allocations: 4 kB / 0.5176 GB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.2584, allocations: 7.891 kB / 0.5176 GB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2584, allocations: 11.94 kB / 0.5176 GB, free: 7.641 MB / 334.1 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 8.64e-05/0.2585, allocations: 125.8 kB / 0.5178 GB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.2585, allocations: 7.953 kB / 0.5178 GB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.2585, allocations: 12.25 kB / 0.5178 GB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.2585, allocations: 4.172 kB / 0.5178 GB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2586, allocations: 0 / 0.5178 GB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2586, allocations: 7.984 kB / 0.5178 GB, free: 7.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.2588, allocations: 193.6 kB / 0.518 GB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2588, allocations: 0 / 0.518 GB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.2588, allocations: 15.98 kB / 0.518 GB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2589, allocations: 0 / 0.518 GB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2589, allocations: 0 / 0.518 GB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2589, allocations: 7.938 kB / 0.518 GB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2589, allocations: 4 kB / 0.518 GB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2591, allocations: 163.4 kB / 0.5182 GB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.2591, allocations: 85.05 kB / 0.5182 GB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2591, allocations: 0 / 0.5182 GB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.2592, allocations: 4.031 kB / 0.5182 GB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/0.2592, allocations: 0 / 0.5182 GB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2592, allocations: 8.062 kB / 0.5182 GB, free: 6.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.2593, allocations: 118 kB / 0.5184 GB, free: 6.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2593, allocations: 0 / 0.5184 GB, free: 6.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2596, allocations: 19.94 kB / 0.5184 GB, free: 6.781 MB / 334.1 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 9.175e-05/0.2597, allocations: 95.25 kB / 0.5185 GB, free: 6.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.996e-05/0.2598, allocations: 31.98 kB / 0.5185 GB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2598, allocations: 0 / 0.5185 GB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.2598, allocations: 16.06 kB / 0.5185 GB, free: 6.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.26, allocations: 15.94 kB / 0.5185 GB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.2606, allocations: 324.4 kB / 0.5188 GB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.261, allocations: 0.704 MB / 0.5195 GB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.261, allocations: 11.44 kB / 0.5195 GB, free: 5.523 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.261, allocations: 0 / 0.5195 GB, free: 5.523 MB / 334.1 MB Notification: Performance of Templates: time 0.002677/0.2637, allocations: 1.112 MB / 0.5206 GB, free: 4.414 MB / 334.1 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: 6.314632989000529] Failed to read output from testmodel.py, exit status != 0: 0.2696144231595099 0.282208662 0.024834846 Calling exit ...