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.0008517/0.0008517, 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.013/1.013, allocations: 177.1 MB / 200 MB, free: 5.531 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.001766/0.001766, allocations: 168.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.02889/0.02889, allocations: 6.657 MB / 319.8 MB, free: 26.51 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.222e-06/1.222e-06, allocations: 0 / 391.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.62e-05, allocations: 6.312 kB / 391.6 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002633/0.002649, allocations: 2.252 MB / 393.9 MB, free: 304 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.003333, allocations: 0.5103 MB / 394.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.124e-05/0.003424, allocations: 4 kB / 394.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.003557, allocations: 31.72 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.00362, allocations: 35.64 kB / 394.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.003776, allocations: 47.92 kB / 394.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.003937, allocations: 163.2 kB / 394.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.004067, allocations: 54.02 kB / 394.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.004154, allocations: 99.72 kB / 394.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.004242, allocations: 47.88 kB / 394.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.004266, allocations: 12 kB / 394.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.004286, allocations: 16 kB / 394.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.004316, allocations: 39.83 kB / 394.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.00436, allocations: 51.91 kB / 395 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004513, allocations: 111.6 kB / 395.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004515, allocations: 0 / 395.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004516, allocations: 0 / 395.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.00452, allocations: 0 / 395.1 MB, free: 15.09 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.0004534/0.004973, allocations: 483.9 kB / 395.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.005005, allocations: 8.031 kB / 395.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.005055, allocations: 32.8 kB / 395.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005226, allocations: 164.3 kB / 395.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.005243, allocations: 16.23 kB / 395.8 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.005275, allocations: 16.38 kB / 395.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.005485, allocations: 189.6 kB / 396 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.005493, allocations: 192 / 396 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.005508, allocations: 12.11 kB / 396 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.005517, allocations: 4 kB / 396 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.005598, allocations: 52.69 kB / 396 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.006232, allocations: 0.7896 MB / 396.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.006343, allocations: 63.09 kB / 396.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.006379, allocations: 27.67 kB / 396.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.006387, allocations: 0 / 396.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.006409, allocations: 41.33 kB / 397 MB, free: 13.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.00641, allocations: 0 / 397 MB, free: 13.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001566/0.006567, allocations: 81.62 kB / 397 MB, free: 12.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.006591, allocations: 51.41 kB / 397.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.006699, allocations: 209.2 kB / 397.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.006711, allocations: 29.7 kB / 397.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.006779, allocations: 186.5 kB / 397.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.006797, allocations: 31.73 kB / 397.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.006833, allocations: 31.38 kB / 397.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.006938, allocations: 0.4961 MB / 398.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.006963, allocations: 11.98 kB / 398.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.007007, allocations: 62.36 kB / 398.1 MB, free: 11.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.007083, allocations: 86.31 kB / 398.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.007086, allocations: 4 kB / 398.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001167/0.007203, allocations: 105.5 kB / 398.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.007215, allocations: 11.28 kB / 398.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.00722, allocations: 0 / 398.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.007236, allocations: 4.125 kB / 398.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.007323, allocations: 31.92 kB / 398.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007329, allocations: 0 / 398.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.007362, allocations: 11.89 kB / 398.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.007371, allocations: 15.88 kB / 398.4 MB, free: 11.49 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 6.523e-05/0.007436, allocations: 160.6 kB / 398.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.007456, allocations: 11.95 kB / 398.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.00748, allocations: 16.77 kB / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007481, allocations: 0 / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007484, allocations: 0 / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007487, allocations: 0 / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.007606, allocations: 172.6 kB / 398.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007607, allocations: 3.938 kB / 398.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.007669, allocations: 12 kB / 398.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.007672, allocations: 4 kB / 398.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.00768, allocations: 0 / 398.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00768, allocations: 0 / 398.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007682, allocations: 3.984 kB / 398.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.007827, allocations: 227.8 kB / 399 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.00784, allocations: 7.953 kB / 399 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.007852, allocations: 3.984 kB / 399 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.007899, allocations: 12.03 kB / 399 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.007927, allocations: 11.92 kB / 399 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.007931, allocations: 0 / 399 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.722e-05/0.007988, allocations: 158.1 kB / 399.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007988, allocations: 0 / 399.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000159/0.008147, allocations: 31.89 kB / 399.2 MB, free: 10.61 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 6.244e-05/0.00821, allocations: 103.2 kB / 399.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.00831, allocations: 51.78 kB / 399.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008311, allocations: 4.062 kB / 399.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.008338, allocations: 27.61 kB / 399.4 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.008541, allocations: 16 kB / 399.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.00944, allocations: 335 kB / 399.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.009478, allocations: 71.28 kB / 399.8 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.009508, allocations: 8.484 kB / 399.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.009535, allocations: 12.5 kB / 399.8 MB, free: 9.918 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.009536, allocations: 4 kB / 399.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of Templates: time 0.002491/0.01203, allocations: 0.9068 MB / 400.8 MB, free: 9.027 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.081769952084869]