Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 106.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 246.7 MB, free: 13.69 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 193.6 kB / 302 MB, free: 9.195 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04143/0.04143, allocations: 8.924 MB / 366 MB, free: 9.352 MB / 302.1 MB [Timeout remaining time 90] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 90.03 kB / 489.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0905/0.09292, allocations: 54.41 MB / 0.5314 GB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003065/0.09599, allocations: 1.777 MB / 0.5332 GB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008283/0.09682, allocations: 0.4918 MB / 0.5336 GB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.09687, allocations: 0 / 0.5336 GB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.78e-05/0.09692, allocations: 15.86 kB / 0.5336 GB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.09699, allocations: 11.86 kB / 0.5337 GB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.09718, allocations: 39.89 kB / 0.5337 GB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.0973, allocations: 83.66 kB / 0.5338 GB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.09742, allocations: 23.92 kB / 0.5338 GB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.0975, allocations: 35.86 kB / 0.5338 GB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.09757, allocations: 47.83 kB / 0.5339 GB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.09759, allocations: 8 kB / 0.5339 GB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.508e-05/0.09766, allocations: 19.98 kB / 0.5339 GB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.09769, allocations: 19.92 kB / 0.5339 GB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.09774, allocations: 31.81 kB / 0.534 GB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.09792, allocations: 103.6 kB / 0.5341 GB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09792, allocations: 0 / 0.5341 GB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09793, allocations: 0 / 0.5341 GB, free: 12.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.09793, allocations: 0 / 0.5341 GB, free: 12.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005681/0.0985, allocations: 403 kB / 0.5344 GB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09854, allocations: 8.031 kB / 0.5344 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.09858, allocations: 12.83 kB / 0.5345 GB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.09875, allocations: 176.3 kB / 0.5346 GB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.09876, allocations: 4.359 kB / 0.5346 GB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.09878, allocations: 8.375 kB / 0.5346 GB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.09901, allocations: 85.97 kB / 0.5347 GB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.09902, allocations: 0 / 0.5347 GB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.09903, allocations: 8 kB / 0.5347 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.09904, allocations: 4 kB / 0.5347 GB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.09926, allocations: 67.81 kB / 0.5348 GB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.0999, allocations: 399.5 kB / 0.5352 GB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1, allocations: 42.56 kB / 0.5352 GB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.1001, allocations: 20.91 kB / 0.5352 GB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1002, allocations: 7.984 kB / 0.5352 GB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1002, allocations: 30.56 kB / 0.5353 GB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1002, allocations: 0 / 0.5353 GB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.1006, allocations: 97.52 kB / 0.5354 GB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1006, allocations: 51.41 kB / 0.5354 GB, free: 10.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1007, allocations: 121.8 kB / 0.5355 GB, free: 10.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1007, allocations: 25.7 kB / 0.5356 GB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.1008, allocations: 112 kB / 0.5357 GB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.568e-06/0.1008, allocations: 3.953 kB / 0.5357 GB, free: 10.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.1009, allocations: 17.72 kB / 0.5357 GB, free: 10.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.101, allocations: 327 kB / 0.536 GB, free: 9.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.459e-05/0.1011, allocations: 19.98 kB / 0.536 GB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1012, allocations: 38.55 kB / 0.5361 GB, free: 9.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1014, allocations: 66.42 kB / 0.5361 GB, free: 9.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1014, allocations: 0 / 0.5361 GB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002355/0.1016, allocations: 81.59 kB / 0.5362 GB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1016, allocations: 4 kB / 0.5362 GB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1016, allocations: 0 / 0.5362 GB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.1017, allocations: 15.92 kB / 0.5362 GB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.1017, allocations: 12.09 kB / 0.5362 GB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1018, allocations: 0 / 0.5362 GB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.1018, allocations: 11.94 kB / 0.5362 GB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1018, allocations: 8 kB / 0.5362 GB, free: 9.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.314e-05/0.1019, allocations: 121.7 kB / 0.5364 GB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1019, allocations: 3.938 kB / 0.5364 GB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.102, allocations: 15.45 kB / 0.5364 GB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.102, allocations: 0 / 0.5364 GB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.102, allocations: 0 / 0.5364 GB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.102, allocations: 4 kB / 0.5364 GB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1022, allocations: 189.5 kB / 0.5366 GB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1022, allocations: 0 / 0.5366 GB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.1023, allocations: 7.984 kB / 0.5366 GB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1023, allocations: 0 / 0.5366 GB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1023, allocations: 7.938 kB / 0.5366 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1023, allocations: 0 / 0.5366 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1023, allocations: 0 / 0.5366 GB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1026, allocations: 167.5 kB / 0.5367 GB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.1026, allocations: 85.06 kB / 0.5368 GB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1026, allocations: 7.938 kB / 0.5368 GB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.1027, allocations: 7.984 kB / 0.5368 GB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1027, allocations: 0 / 0.5368 GB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1027, allocations: 0 / 0.5368 GB, free: 9.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.1028, allocations: 103.6 kB / 0.5369 GB, free: 8.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1028, allocations: 4.031 kB / 0.5369 GB, free: 8.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1031, allocations: 20 kB / 0.537 GB, free: 8.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0001218/0.1032, allocations: 103.2 kB / 0.5371 GB, free: 8.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.1034, allocations: 39.97 kB / 0.5371 GB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1034, allocations: 0 / 0.5371 GB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1035, allocations: 32.09 kB / 0.5371 GB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.1038, allocations: 4 kB / 0.5371 GB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1042, allocations: 180.6 kB / 0.5373 GB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1045, allocations: 0.6961 MB / 0.538 GB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1046, allocations: 11.44 kB / 0.538 GB, free: 7.766 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1046, allocations: 0 / 0.538 GB, free: 7.766 MB / 350.1 MB Notification: Performance of Templates: time 0.002632/0.1072, allocations: 0.9573 MB / 0.5389 GB, free: 6.809 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 480]