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.001197/0.001197, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001851/0.003048, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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 0.9738/0.9738, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1759/1.15, allocations: 53.64 MB / 241.9 MB, free: 2.73 MB / 234.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.0008129/0.0008129, allocations: 151.8 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.00252, allocations: 478.6 kB / 243.2 MB, free: 1.414 MB / 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.02383/0.02383, allocations: 6.66 MB / 250.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003915/0.02774, allocations: 2.67 MB / 253.3 MB, free: 7.547 MB / 250.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 2.063e-06/2.063e-06, allocations: 3.938 kB / 254.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.649e-05, allocations: 8.844 kB / 254.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.002326/0.002342, allocations: 2.297 MB / 256.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006925/0.003035, allocations: 0.5297 MB / 257.4 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.00315, allocations: 4 kB / 257.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.642e-05/0.003237, allocations: 23.72 kB / 257.4 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.003314, allocations: 39.58 kB / 257.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.003444, allocations: 47.94 kB / 257.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.003635, allocations: 163.3 kB / 257.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.003779, allocations: 54.84 kB / 257.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.003913, allocations: 111.8 kB / 257.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004021, allocations: 47.81 kB / 257.9 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.004049, allocations: 12 kB / 257.9 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.004069, allocations: 16 kB / 257.9 MB, free: 2.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.004095, allocations: 23.88 kB / 257.9 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.004141, allocations: 43.94 kB / 258 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004309, allocations: 103.5 kB / 258.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.004323, allocations: 4 kB / 258.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004323, allocations: 0 / 258.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.004337, allocations: 0 / 258.1 MB, free: 2.758 MB / 250.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.0004444/0.004781, allocations: 387.9 kB / 258.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.004809, allocations: 8.031 kB / 258.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.004848, allocations: 20.92 kB / 258.5 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.005004, allocations: 149.5 kB / 258.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005017, allocations: 16.38 kB / 258.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.005042, allocations: 20.36 kB / 258.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.005216, allocations: 176.9 kB / 258.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.005224, allocations: 4.125 kB / 258.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.005236, allocations: 16.38 kB / 258.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005242, allocations: 11.88 kB / 258.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.00529, allocations: 32.83 kB / 258.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.005808, allocations: 0.5311 MB / 259.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.005913, allocations: 62.41 kB / 259.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.005933, allocations: 16.86 kB / 259.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.005945, allocations: 4 kB / 259.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.005966, allocations: 30.56 kB / 259.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.005967, allocations: 0 / 259.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001364/0.006104, allocations: 69.81 kB / 259.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.006135, allocations: 55.34 kB / 259.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.006214, allocations: 156.6 kB / 259.8 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006224, allocations: 25.7 kB / 259.8 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.006283, allocations: 131.7 kB / 260 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.006302, allocations: 31.73 kB / 260 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.006335, allocations: 33.7 kB / 260 MB, free: 0.625 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.006423, allocations: 326.8 kB / 260.3 MB, free: 304 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.006439, allocations: 11.98 kB / 260.4 MB, free: 292 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.006473, allocations: 44.28 kB / 260.4 MB, free: 232 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.006528, allocations: 64.12 kB / 260.5 MB, free: 152 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.006534, allocations: 8 kB / 260.5 MB, free: 144 kB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.047e-05/0.006614, allocations: 85.55 kB / 260.5 MB, free: 52 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006628, allocations: 7.984 kB / 260.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006633, allocations: 0 / 260.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006643, allocations: 4 kB / 260.6 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.006789, allocations: 31.92 kB / 260.6 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006792, allocations: 0 / 260.6 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.583e-05/0.006838, allocations: 12.03 kB / 260.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.006843, allocations: 4 kB / 260.6 MB, free: 15.99 MB / 266.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.0001028/0.006946, allocations: 125.7 kB / 260.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.00697, allocations: 12.11 kB / 260.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.006996, allocations: 12.78 kB / 260.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007, allocations: 0 / 260.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007001, allocations: 0 / 260.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007004, allocations: 0 / 260.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.007122, allocations: 105.7 kB / 260.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007123, allocations: 0 / 260.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.007211, allocations: 23.92 kB / 260.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.007224, allocations: 11.91 kB / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.007227, allocations: 0 / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.007233, allocations: 0 / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007234, allocations: 4 kB / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007235, allocations: 0 / 260.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.007358, allocations: 179.4 kB / 261.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.007369, allocations: 0 / 261.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.007414, allocations: 4 kB / 261.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.007437, allocations: 11.98 kB / 261.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.007441, allocations: 0 / 261.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.565e-05/0.007467, allocations: 31.83 kB / 261.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007467, allocations: 0 / 261.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.007602, allocations: 35.89 kB / 261.2 MB, free: 15.4 MB / 266.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 5.97e-05/0.007662, allocations: 76.45 kB / 261.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.007743, allocations: 52.75 kB / 261.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.056e-06/0.007751, allocations: 4 kB / 261.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.007769, allocations: 21.19 kB / 261.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.007919, allocations: 23.92 kB / 261.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.009156, allocations: 350.3 kB / 261.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.0092, allocations: 75.33 kB / 261.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.009236, allocations: 8.969 kB / 261.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.009296, allocations: 63.38 kB / 261.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009296, allocations: 0 / 261.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002648/0.01194, allocations: 1.047 MB / 262.9 MB, free: 13.65 MB / 266.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.6839922973886132]