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.00188/0.00188, allocations: 85.48 kB / 19.44 MB, free: 344 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.617/1.617, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 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.002038/0.002038, allocations: 160.6 kB / 256.3 MB, free: 13.16 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.04195/0.04195, allocations: 6.663 MB / 319.4 MB, free: 26.57 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.794e-06/1.794e-06, allocations: 0 / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.446e-05, allocations: 2.312 kB / 390.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.004394/0.004428, allocations: 2.213 MB / 393.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.005439, allocations: 0.5026 MB / 393.6 MB, free: 236 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.005543, allocations: 7.938 kB / 393.6 MB, free: 228 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.005689, allocations: 31.72 kB / 393.7 MB, free: 196 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.005777, allocations: 31.66 kB / 393.7 MB, free: 164 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.005955, allocations: 55.8 kB / 393.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.00623, allocations: 163.4 kB / 393.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.006411, allocations: 57.95 kB / 394 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.006559, allocations: 79.88 kB / 394 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.006687, allocations: 55.8 kB / 394.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.006724, allocations: 16 kB / 394.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.006754, allocations: 12 kB / 394.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.006802, allocations: 39.84 kB / 394.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/0.006881, allocations: 51.89 kB / 394.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.007174, allocations: 167.4 kB / 394.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.007177, allocations: 0 / 394.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007178, allocations: 0 / 394.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.007183, allocations: 0 / 394.4 MB, free: 15.47 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.0007763/0.00796, allocations: 491.5 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.007997, allocations: 8.031 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.008083, allocations: 36.8 kB / 394.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.008369, allocations: 164.3 kB / 395.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.008391, allocations: 12.23 kB / 395.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.008433, allocations: 20.38 kB / 395.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.0088, allocations: 201 kB / 395.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.008812, allocations: 192 / 395.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.008831, allocations: 8.312 kB / 395.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.008842, allocations: 7.938 kB / 395.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.009051, allocations: 88.67 kB / 395.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01028, allocations: 0.8208 MB / 396.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.01047, allocations: 83.03 kB / 396.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.01056, allocations: 39.66 kB / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.01057, allocations: 4 kB / 396.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.01061, allocations: 33.39 kB / 396.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.01061, allocations: 0 / 396.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002899/0.0109, allocations: 101.6 kB / 396.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.01094, allocations: 51.41 kB / 396.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01117, allocations: 228.8 kB / 396.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.0112, allocations: 29.7 kB / 396.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01134, allocations: 186.6 kB / 397 MB, free: 12.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.01137, allocations: 31.73 kB / 397 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.01144, allocations: 43.3 kB / 397 MB, free: 12.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002771/0.01172, allocations: 0.5 MB / 397.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.01179, allocations: 23.98 kB / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01191, allocations: 78.42 kB / 397.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.01209, allocations: 98.36 kB / 397.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.0121, allocations: 4 kB / 397.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002483/0.01235, allocations: 125.5 kB / 397.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01236, allocations: 4 kB / 397.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01237, allocations: 8.125 kB / 397.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01239, allocations: 0 / 397.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.01253, allocations: 27.92 kB / 397.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.01254, allocations: 4 kB / 397.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.01261, allocations: 11.95 kB / 397.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.01262, allocations: 4 kB / 397.9 MB, free: 11.66 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 0.0001667/0.01278, allocations: 176.4 kB / 398.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.01282, allocations: 11.95 kB / 398.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.01287, allocations: 20.77 kB / 398.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01287, allocations: 0 / 398.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01288, allocations: 4 kB / 398.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01288, allocations: 3.938 kB / 398.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.01315, allocations: 180.5 kB / 398.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01315, allocations: 0 / 398.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01325, allocations: 12 kB / 398.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01326, allocations: 0 / 398.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01327, allocations: 4 kB / 398.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01327, allocations: 0 / 398.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01327, allocations: 4 kB / 398.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.01364, allocations: 263.7 kB / 398.6 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.01367, allocations: 15.98 kB / 398.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.01369, allocations: 0 / 398.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.01377, allocations: 4 kB / 398.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01382, allocations: 7.984 kB / 398.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01382, allocations: 0 / 398.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.01397, allocations: 163.2 kB / 398.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01397, allocations: 0 / 398.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01424, allocations: 39.83 kB / 398.8 MB, free: 10.7 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 0.0001147/0.01435, allocations: 91.25 kB / 398.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01456, allocations: 79.59 kB / 399 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01456, allocations: 0 / 399 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.01463, allocations: 35.61 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.01493, allocations: 18.5 kB / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.01569, allocations: 339.2 kB / 399.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.0158, allocations: 102.9 kB / 399.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.01586, allocations: 12.5 kB / 399.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.01589, allocations: 12.5 kB / 399.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01589, allocations: 0 / 399.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of Templates: time 0.004474/0.02036, allocations: 0.9065 MB / 400.4 MB, free: 9.074 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: 4.803384838043712]