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.001328/0.001328, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.011/1.011, allocations: 177.2 MB / 201.1 MB, free: 5.426 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.001114/0.001114, allocations: 163.3 kB / 257.7 MB, free: 12.84 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.02469/0.02469, allocations: 6.657 MB / 320.9 MB, free: 11.46 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.163e-06/1.163e-06, allocations: 0 / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.799e-05, allocations: 2.312 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002764/0.002782, allocations: 2.24 MB / 395.1 MB, free: 1.109 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.003859, allocations: 0.5064 MB / 395.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.003974, allocations: 7.938 kB / 395.6 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.004103, allocations: 31.72 kB / 395.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.004199, allocations: 35.64 kB / 395.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.004357, allocations: 47.88 kB / 395.7 MB, free: 488 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.00456, allocations: 167.3 kB / 395.9 MB, free: 320 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.004689, allocations: 54.2 kB / 396 MB, free: 268 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.004806, allocations: 83.86 kB / 396 MB, free: 184 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.004905, allocations: 55.8 kB / 396.1 MB, free: 128 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.004933, allocations: 12 kB / 396.1 MB, free: 116 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.004956, allocations: 16 kB / 396.1 MB, free: 100 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.004987, allocations: 27.86 kB / 396.2 MB, free: 72 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.005043, allocations: 55.89 kB / 396.2 MB, free: 16 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005247, allocations: 107.6 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005249, allocations: 4 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00525, allocations: 0 / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.005254, allocations: 0 / 396.3 MB, free: 15.91 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.0005099/0.005763, allocations: 487.9 kB / 396.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.005796, allocations: 11.97 kB / 396.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.005852, allocations: 28.84 kB / 396.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.006054, allocations: 171.4 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.006069, allocations: 8.375 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.006098, allocations: 20.38 kB / 397 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.006456, allocations: 177.7 kB / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.006465, allocations: 192 / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.006479, allocations: 4.375 kB / 397.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.006489, allocations: 11.88 kB / 397.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.006572, allocations: 48.67 kB / 397.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.00734, allocations: 0.7396 MB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.007459, allocations: 71 kB / 398.1 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.007489, allocations: 23.62 kB / 398.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.007497, allocations: 4 kB / 398.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.007519, allocations: 33.39 kB / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.00752, allocations: 0 / 398.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001582/0.007678, allocations: 81.75 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007709, allocations: 51.41 kB / 398.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007835, allocations: 209.8 kB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007847, allocations: 29.7 kB / 398.5 MB, free: 13.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.007931, allocations: 178.5 kB / 398.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.007955, allocations: 31.73 kB / 398.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.008004, allocations: 39.34 kB / 398.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.008143, allocations: 0.4922 MB / 399.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.008171, allocations: 15.92 kB / 399.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.008223, allocations: 58.41 kB / 399.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.00831, allocations: 78.34 kB / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.008312, allocations: 0 / 399.4 MB, free: 12.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001514/0.008464, allocations: 101.5 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.00848, allocations: 8 kB / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.008484, allocations: 0 / 399.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.008494, allocations: 4 kB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.008601, allocations: 27.92 kB / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.008604, allocations: 0 / 399.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.008664, allocations: 20.02 kB / 399.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.008672, allocations: 8 kB / 399.5 MB, free: 12.4 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 9.061e-05/0.008762, allocations: 168.5 kB / 399.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.008799, allocations: 15.89 kB / 399.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.008827, allocations: 12.78 kB / 399.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008829, allocations: 0 / 399.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008831, allocations: 0 / 399.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008834, allocations: 0 / 399.7 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.009008, allocations: 133.1 kB / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00901, allocations: 0 / 399.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.009097, allocations: 15.94 kB / 399.9 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.0091, allocations: 8 kB / 399.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.00911, allocations: 7.984 kB / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.009112, allocations: 0 / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009113, allocations: 0 / 399.9 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.009305, allocations: 227.8 kB / 400.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.009323, allocations: 11.89 kB / 400.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.009338, allocations: 8 kB / 400.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.009417, allocations: 4 kB / 400.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.009441, allocations: 3.984 kB / 400.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.009447, allocations: 4 kB / 400.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.024e-05/0.009517, allocations: 154.4 kB / 400.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009517, allocations: 0 / 400.3 MB, free: 11.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.009826, allocations: 27.89 kB / 400.3 MB, free: 11.55 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 8.558e-05/0.009912, allocations: 99.23 kB / 400.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01003, allocations: 43.61 kB / 400.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01003, allocations: 0 / 400.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.01006, allocations: 31.59 kB / 400.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01038, allocations: 20.19 kB / 400.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.01134, allocations: 342.9 kB / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.01138, allocations: 71.28 kB / 400.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01141, allocations: 8.484 kB / 400.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.01148, allocations: 86.19 kB / 401 MB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01148, allocations: 0 / 401 MB, free: 10.8 MB / 378.7 MB Notification: Performance of Templates: time 0.002917/0.01439, allocations: 1.001 MB / 402 MB, free: 9.816 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.8497349871322513]