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.001564/0.001564, allocations: 88.72 kB / 19.44 MB, free: 352 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.56/1.56, allocations: 177.1 MB / 199.7 MB, free: 4.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.001881/0.001881, allocations: 157.6 kB / 256.3 MB, free: 324 kB / 234.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.04182/0.04182, allocations: 6.663 MB / 319.4 MB, free: 1.344 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.734e-06/1.734e-06, allocations: 0 / 390.9 MB, free: 58.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.722e-05, allocations: 3.312 kB / 390.9 MB, free: 58.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003433/0.00347, allocations: 2.161 MB / 393.1 MB, free: 56.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.004524, allocations: 0.5132 MB / 393.6 MB, free: 55.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.004687, allocations: 4 kB / 393.6 MB, free: 55.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.004871, allocations: 24.5 kB / 393.6 MB, free: 55.95 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.004975, allocations: 39.66 kB / 393.6 MB, free: 55.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.005211, allocations: 51.86 kB / 393.7 MB, free: 55.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005433, allocations: 163.3 kB / 393.9 MB, free: 55.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.005611, allocations: 46.27 kB / 393.9 MB, free: 55.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.005742, allocations: 91.81 kB / 394 MB, free: 55.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005854, allocations: 47.8 kB / 394 MB, free: 55.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.005887, allocations: 12 kB / 394 MB, free: 55.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.786e-05/0.005915, allocations: 16 kB / 394.1 MB, free: 55.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.005953, allocations: 31.91 kB / 394.1 MB, free: 55.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.006024, allocations: 55.84 kB / 394.1 MB, free: 55.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.006303, allocations: 175.4 kB / 394.3 MB, free: 55.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.006308, allocations: 0 / 394.3 MB, free: 55.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.006311, allocations: 4 kB / 394.3 MB, free: 55.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.006318, allocations: 0 / 394.3 MB, free: 55.23 MB / 314.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.0006965/0.007015, allocations: 373.7 kB / 394.7 MB, free: 54.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.007064, allocations: 15.98 kB / 394.7 MB, free: 54.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.007149, allocations: 28.84 kB / 394.7 MB, free: 54.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.007408, allocations: 157.5 kB / 394.9 MB, free: 54.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.007429, allocations: 20.36 kB / 394.9 MB, free: 54.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.007472, allocations: 12.38 kB / 394.9 MB, free: 54.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.007785, allocations: 192.4 kB / 395.1 MB, free: 54.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.007799, allocations: 4.125 kB / 395.1 MB, free: 54.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.007821, allocations: 4.375 kB / 395.1 MB, free: 54.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.007829, allocations: 7.938 kB / 395.1 MB, free: 54.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.008027, allocations: 88.8 kB / 395.2 MB, free: 54.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.008906, allocations: 0.6406 MB / 395.8 MB, free: 53.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.00913, allocations: 78.55 kB / 395.9 MB, free: 53.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.009201, allocations: 32.84 kB / 396 MB, free: 53.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.009213, allocations: 4 kB / 396 MB, free: 53.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.009242, allocations: 30.56 kB / 396 MB, free: 53.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.009244, allocations: 0 / 396 MB, free: 53.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003245/0.009569, allocations: 109.6 kB / 396.1 MB, free: 53.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.009598, allocations: 51.41 kB / 396.1 MB, free: 53.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.009716, allocations: 156.4 kB / 396.3 MB, free: 53.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.009729, allocations: 25.7 kB / 396.3 MB, free: 53.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.009795, allocations: 143.7 kB / 396.5 MB, free: 52.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.009813, allocations: 27.88 kB / 396.5 MB, free: 52.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.009859, allocations: 37.66 kB / 396.5 MB, free: 52.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.009938, allocations: 322.8 kB / 396.8 MB, free: 52.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.01, allocations: 27.98 kB / 396.9 MB, free: 52.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.01007, allocations: 64.28 kB / 396.9 MB, free: 52.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.0102, allocations: 88.22 kB / 397 MB, free: 52.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.0102, allocations: 0 / 397 MB, free: 52.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000201/0.0104, allocations: 141.4 kB / 397.2 MB, free: 52.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01042, allocations: 12.12 kB / 397.2 MB, free: 52.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01043, allocations: 0 / 397.2 MB, free: 52.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.01046, allocations: 4 kB / 397.2 MB, free: 52.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.0106, allocations: 23.98 kB / 397.2 MB, free: 52.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01061, allocations: 0 / 397.2 MB, free: 52.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.01068, allocations: 11.89 kB / 397.2 MB, free: 52.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01069, allocations: 8 kB / 397.2 MB, free: 52.1 MB / 314.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 8.493e-05/0.01077, allocations: 129.7 kB / 397.3 MB, free: 51.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.01081, allocations: 7.953 kB / 397.4 MB, free: 51.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.01085, allocations: 16.77 kB / 397.4 MB, free: 51.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01085, allocations: 4 kB / 397.4 MB, free: 51.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.01086, allocations: 4 kB / 397.4 MB, free: 51.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01086, allocations: 0 / 397.4 MB, free: 51.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.01102, allocations: 149.2 kB / 397.5 MB, free: 51.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01102, allocations: 0 / 397.5 MB, free: 51.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01112, allocations: 23.97 kB / 397.5 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01113, allocations: 0 / 397.5 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.01114, allocations: 0 / 397.5 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01114, allocations: 4 kB / 397.6 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01114, allocations: 0 / 397.6 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.01139, allocations: 223.3 kB / 397.8 MB, free: 51.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01141, allocations: 7.984 kB / 397.8 MB, free: 51.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01143, allocations: 0 / 397.8 MB, free: 51.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.01153, allocations: 8 kB / 397.8 MB, free: 51.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.01157, allocations: 3.984 kB / 397.8 MB, free: 51.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01158, allocations: 4 kB / 397.8 MB, free: 51.47 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.881e-05/0.01164, allocations: 111.2 kB / 397.9 MB, free: 51.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01164, allocations: 0 / 397.9 MB, free: 51.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.01192, allocations: 43.77 kB / 397.9 MB, free: 51.32 MB / 314.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.0001123/0.01203, allocations: 95.31 kB / 398 MB, free: 51.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.01222, allocations: 67.94 kB / 398.1 MB, free: 51.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01222, allocations: 0 / 398.1 MB, free: 51.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.01227, allocations: 27.98 kB / 398.1 MB, free: 51.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.01264, allocations: 19 kB / 398.1 MB, free: 51.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007425/0.01338, allocations: 321.7 kB / 398.5 MB, free: 50.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.01346, allocations: 110.8 kB / 398.6 MB, free: 50.63 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.0135, allocations: 4.5 kB / 398.6 MB, free: 50.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.01354, allocations: 16.5 kB / 398.6 MB, free: 50.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01354, allocations: 0 / 398.6 MB, free: 50.61 MB / 314.7 MB Notification: Performance of Templates: time 0.004288/0.01783, allocations: 0.9062 MB / 399.5 MB, free: 49.73 MB / 314.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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.340240968042053]