Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.000959/0.000959, allocations: 85.17 kB / 19.87 MB, free: 4.617 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 1.054/1.054, allocations: 177.2 MB / 200.3 MB, free: 5.371 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.001475/0.001475, allocations: 163.7 kB / 256.9 MB, free: 12.81 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.03364/0.03364, allocations: 6.656 MB / 320.1 MB, free: 11.45 MB / 298.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 392.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.192e-05, allocations: 2.312 kB / 392.1 MB, free: 3.352 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002779/0.002801, allocations: 2.24 MB / 394.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007941/0.003596, allocations: 0.5142 MB / 394.8 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.003709, allocations: 3.938 kB / 394.8 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.003836, allocations: 27.72 kB / 394.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.003911, allocations: 35.66 kB / 394.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004064, allocations: 51.88 kB / 395 MB, free: 476 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.00422, allocations: 171.2 kB / 395.1 MB, free: 304 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.00434, allocations: 46.27 kB / 395.2 MB, free: 260 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.004435, allocations: 87.86 kB / 395.3 MB, free: 172 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.004525, allocations: 47.81 kB / 395.3 MB, free: 124 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.004549, allocations: 16 kB / 395.3 MB, free: 108 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.004568, allocations: 12 kB / 395.3 MB, free: 96 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.004596, allocations: 39.83 kB / 395.4 MB, free: 56 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.004638, allocations: 47.91 kB / 395.4 MB, free: 8 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.004799, allocations: 111.6 kB / 395.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004801, allocations: 4 kB / 395.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004802, allocations: 4 kB / 395.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.004805, allocations: 0 / 395.5 MB, free: 15.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000433/0.005238, allocations: 487.8 kB / 396 MB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.005273, allocations: 12.03 kB / 396 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.005312, allocations: 28.84 kB / 396.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.005469, allocations: 160.3 kB / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.005482, allocations: 12.38 kB / 396.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.005507, allocations: 24.36 kB / 396.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.005691, allocations: 169.7 kB / 396.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005699, allocations: 4.125 kB / 396.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.00571, allocations: 8.375 kB / 396.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.005718, allocations: 7.938 kB / 396.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.005772, allocations: 40.69 kB / 396.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.006374, allocations: 0.7552 MB / 397.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.006477, allocations: 62.98 kB / 397.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.006504, allocations: 27.81 kB / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.006511, allocations: 0 / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.006534, allocations: 41.39 kB / 397.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.006535, allocations: 0 / 397.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001365/0.006672, allocations: 69.62 kB / 397.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.006698, allocations: 59.39 kB / 397.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.006792, allocations: 201.8 kB / 397.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.006806, allocations: 33.7 kB / 397.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.006874, allocations: 186.4 kB / 397.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.006893, allocations: 31.72 kB / 397.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.006929, allocations: 35.36 kB / 398 MB, free: 13.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.00704, allocations: 0.4922 MB / 398.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.007059, allocations: 11.98 kB / 398.5 MB, free: 12.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.007104, allocations: 58.41 kB / 398.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.00717, allocations: 78.38 kB / 398.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007172, allocations: 0 / 398.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001026/0.007274, allocations: 101.4 kB / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.007286, allocations: 4 kB / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007292, allocations: 4 kB / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.007304, allocations: 0 / 398.7 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.007387, allocations: 31.92 kB / 398.7 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007391, allocations: 4 kB / 398.7 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.007427, allocations: 15.89 kB / 398.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.007432, allocations: 4.125 kB / 398.8 MB, free: 12.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.686e-05/0.007508, allocations: 168.5 kB / 398.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.007529, allocations: 15.91 kB / 398.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.007557, allocations: 16.77 kB / 399 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.007561, allocations: 4 kB / 399 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007565, allocations: 0 / 399 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.007569, allocations: 0 / 399 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.007692, allocations: 137.1 kB / 399.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007693, allocations: 4 kB / 399.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.007747, allocations: 12 kB / 399.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.007748, allocations: 4 kB / 399.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.007754, allocations: 0 / 399.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007754, allocations: 0 / 399.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.007757, allocations: 7.984 kB / 399.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.007902, allocations: 227.8 kB / 399.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.007917, allocations: 11.91 kB / 399.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.007934, allocations: 3.984 kB / 399.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.007982, allocations: 8 kB / 399.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.00801, allocations: 7.984 kB / 399.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.008013, allocations: 0 / 399.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.008065, allocations: 146.4 kB / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008065, allocations: 0 / 399.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001717/0.008236, allocations: 35.89 kB / 399.5 MB, free: 11.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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 7.065e-05/0.008307, allocations: 95.23 kB / 399.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.008392, allocations: 51.59 kB / 399.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.008394, allocations: 0 / 399.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.008417, allocations: 27.61 kB / 399.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.008625, allocations: 16.19 kB / 399.7 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.00925, allocations: 346.7 kB / 400.1 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.73e-05/0.009287, allocations: 67.28 kB / 400.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.009323, allocations: 8.484 kB / 400.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.009389, allocations: 86.19 kB / 400.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.00939, allocations: 0 / 400.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of Templates: time 0.002848/0.01224, allocations: 0.9823 MB / 401.2 MB, free: 9.82 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9809643640182912]