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.000998/0.000998, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.105/1.105, allocations: 177.1 MB / 200 MB, free: 5.504 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.001305/0.001305, allocations: 159.5 kB / 256.6 MB, free: 12.98 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.02381/0.02381, allocations: 6.663 MB / 319.8 MB, free: 26.54 MB / 266.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.593e-06/1.593e-06, allocations: 0 / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.138e-05, allocations: 6.25 kB / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003421/0.003442, allocations: 2.255 MB / 393.9 MB, free: 336 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.004427, allocations: 0.5142 MB / 394.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.004526, allocations: 8 kB / 394.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.004663, allocations: 23.72 kB / 394.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.004731, allocations: 39.58 kB / 394.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004896, allocations: 47.94 kB / 394.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.005072, allocations: 163.3 kB / 394.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005209, allocations: 46.03 kB / 394.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005315, allocations: 99.72 kB / 394.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.005405, allocations: 51.81 kB / 394.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.00544, allocations: 12 kB / 394.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.909e-05/0.005459, allocations: 20 kB / 394.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.005499, allocations: 39.83 kB / 394.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.005543, allocations: 39.92 kB / 395 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.005728, allocations: 115.6 kB / 395.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00573, allocations: 0 / 395.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005731, allocations: 0 / 395.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005736, allocations: 0 / 395.1 MB, free: 15.12 MB / 330.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.0005474/0.006283, allocations: 483.9 kB / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.006329, allocations: 8.031 kB / 395.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.006386, allocations: 40.8 kB / 395.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.006568, allocations: 160.3 kB / 395.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.006581, allocations: 12.23 kB / 395.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.006614, allocations: 24.36 kB / 395.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.006842, allocations: 185.6 kB / 396 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.00685, allocations: 192 / 396 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.006866, allocations: 8.375 kB / 396 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.006875, allocations: 7.938 kB / 396 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.006957, allocations: 52.69 kB / 396.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.007702, allocations: 0.7817 MB / 396.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.007819, allocations: 71.05 kB / 396.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.007852, allocations: 27.66 kB / 396.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.007861, allocations: 4 kB / 396.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.007885, allocations: 37.33 kB / 397 MB, free: 13.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.007886, allocations: 8 kB / 397 MB, free: 13.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001692/0.008055, allocations: 77.78 kB / 397.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.008083, allocations: 55.39 kB / 397.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.008193, allocations: 201.9 kB / 397.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.008205, allocations: 29.69 kB / 397.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.008277, allocations: 182.5 kB / 397.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.008294, allocations: 27.73 kB / 397.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.008332, allocations: 39.38 kB / 397.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.008447, allocations: 0.4922 MB / 398.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.008473, allocations: 15.98 kB / 398.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.008665, allocations: 66.36 kB / 398.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.00874, allocations: 82.31 kB / 398.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008742, allocations: 0 / 398.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001086/0.00885, allocations: 105.5 kB / 398.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008864, allocations: 7.125 kB / 398.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.008871, allocations: 4 kB / 398.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.008885, allocations: 4.125 kB / 398.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.008995, allocations: 27.92 kB / 398.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.009002, allocations: 4 kB / 398.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.009039, allocations: 15.89 kB / 398.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.009047, allocations: 4 kB / 398.4 MB, free: 11.52 MB / 330.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.453e-05/0.009121, allocations: 160.5 kB / 398.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.009138, allocations: 11.95 kB / 398.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.009164, allocations: 20.77 kB / 398.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009166, allocations: 0 / 398.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.009169, allocations: 0 / 398.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009173, allocations: 4 kB / 398.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.009302, allocations: 172.4 kB / 398.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.009304, allocations: 4 kB / 398.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.00936, allocations: 15.98 kB / 398.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009361, allocations: 0 / 398.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.00937, allocations: 0 / 398.8 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.009371, allocations: 7.938 kB / 398.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009372, allocations: 0 / 398.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.009535, allocations: 227.8 kB / 399 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.00955, allocations: 11.94 kB / 399 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.009563, allocations: 8.016 kB / 399 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.009608, allocations: 4 kB / 399 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.009644, allocations: 15.92 kB / 399 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.009647, allocations: 0 / 399 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.789e-05/0.009704, allocations: 154.2 kB / 399.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009705, allocations: 0 / 399.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.009875, allocations: 35.83 kB / 399.2 MB, free: 10.62 MB / 330.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.441e-05/0.00995, allocations: 91.25 kB / 399.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01007, allocations: 63.23 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01007, allocations: 0 / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.0101, allocations: 27.61 kB / 399.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.0103, allocations: 15.98 kB / 399.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.01107, allocations: 335.1 kB / 399.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.01112, allocations: 71.28 kB / 399.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.01117, allocations: 8.484 kB / 399.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.0112, allocations: 12.5 kB / 399.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0112, allocations: 7.938 kB / 399.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of Templates: time 0.003358/0.01456, allocations: 0.938 MB / 400.8 MB, free: 9.016 MB / 330.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: 3.142676596995443]