Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.0009713/0.0009713, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0021/0.003071, allocations: 440 kB / 10.41 MB, free: 284 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 1.021/1.021, allocations: 177.2 MB / 188.4 MB, free: 4.402 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2019/1.223, allocations: 53.66 MB / 242 MB, free: 2.613 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.001654/0.001654, allocations: 139.9 kB / 242.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002255/0.003908, allocations: 492.5 kB / 243.4 MB, free: 1.281 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.03068/0.03068, allocations: 6.651 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006327/0.03701, allocations: 2.668 MB / 253.5 MB, free: 7.41 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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.767e-05, allocations: 2.312 kB / 254.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002209/0.002237, allocations: 1.471 MB / 256.2 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.00324, allocations: 0.8903 MB / 257.1 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.003273, allocations: 0 / 257.1 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.003484, allocations: 99.36 kB / 257.2 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.003518, allocations: 15.92 kB / 257.2 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.003951, allocations: 258.8 kB / 257.5 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.004149, allocations: 43.8 kB / 257.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.004194, allocations: 4 kB / 257.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.004335, allocations: 39.77 kB / 257.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.004377, allocations: 4 kB / 257.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00439, allocations: 7.938 kB / 257.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.004615, allocations: 123.7 kB / 257.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.004636, allocations: 7.938 kB / 257.7 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.004657, allocations: 8 kB / 257.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.004876, allocations: 127.6 kB / 257.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.761e-05/0.004894, allocations: 3.984 kB / 257.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004895, allocations: 4 kB / 257.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.004904, allocations: 0 / 257.8 MB, free: 3.023 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007239/0.005628, allocations: 429.2 kB / 258.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005665, allocations: 8.031 kB / 258.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.005699, allocations: 4.938 kB / 258.3 MB, free: 2.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.005811, allocations: 121.7 kB / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005824, allocations: 384 / 258.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.00584, allocations: 8.312 kB / 258.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.005932, allocations: 46.23 kB / 258.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.005941, allocations: 192 / 258.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005948, allocations: 384 / 258.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.005957, allocations: 3.938 kB / 258.4 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.00599, allocations: 11.98 kB / 258.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.006098, allocations: 76.98 kB / 258.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006213, allocations: 46.61 kB / 258.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.006235, allocations: 16.8 kB / 258.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.006251, allocations: 4 kB / 258.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.006275, allocations: 38.56 kB / 258.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.006276, allocations: 0 / 258.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001246/0.0064, allocations: 61.8 kB / 258.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.006428, allocations: 51.41 kB / 258.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.006482, allocations: 106.7 kB / 258.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.006492, allocations: 25.7 kB / 258.9 MB, free: 1.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.006518, allocations: 84.12 kB / 258.9 MB, free: 1.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.006551, allocations: 23.84 kB / 259 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.006578, allocations: 13.72 kB / 259 MB, free: 1.711 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.006661, allocations: 326.8 kB / 259.3 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.006679, allocations: 11.94 kB / 259.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.006693, allocations: 8 kB / 259.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.006737, allocations: 24.84 kB / 259.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00674, allocations: 0 / 259.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.619e-05/0.006806, allocations: 45.69 kB / 259.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.006822, allocations: 10.81 kB / 259.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.006828, allocations: 0 / 259.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.006842, allocations: 3.938 kB / 259.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.006999, allocations: 15.92 kB / 259.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.007004, allocations: 0 / 259.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.007037, allocations: 11.94 kB / 259.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.007047, allocations: 4 kB / 259.4 MB, free: 1.242 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 7.925e-05/0.007127, allocations: 105.8 kB / 259.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.007144, allocations: 4.688 kB / 259.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.007307, allocations: 74.03 kB / 259.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.00731, allocations: 0 / 259.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007312, allocations: 0 / 259.6 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.007317, allocations: 4 kB / 259.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.007428, allocations: 85.81 kB / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.007432, allocations: 4 kB / 259.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.007522, allocations: 19.94 kB / 259.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.007537, allocations: 7.953 kB / 259.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.007541, allocations: 0 / 259.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.007551, allocations: 3.984 kB / 259.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.007553, allocations: 0 / 259.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.007555, allocations: 0 / 259.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.00769, allocations: 85.05 kB / 259.8 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.007704, allocations: 4 kB / 259.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.007741, allocations: 0 / 259.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.00777, allocations: 3.984 kB / 259.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.007778, allocations: 4 kB / 259.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.007802, allocations: 20.84 kB / 259.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007803, allocations: 0 / 259.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.007979, allocations: 12 kB / 259.9 MB, free: 0.7578 MB / 250.7 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 (8): * Single equations (assignments): 8 * 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.0001713/0.00815, allocations: 96.34 kB / 260 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008273, allocations: 32.78 kB / 260 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.008283, allocations: 4 kB / 260 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.008336, allocations: 28.83 kB / 260 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.008453, allocations: 15.94 kB / 260 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.009299, allocations: 164.6 kB / 260.2 MB, free: 392 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.00934, allocations: 63.34 kB / 260.3 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.00938, allocations: 4 kB / 260.3 MB, free: 304 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.009457, allocations: 55.38 kB / 260.3 MB, free: 248 kB / 250.7 MB Notification: Performance of SimCode: time 1.783e-06/0.009458, allocations: 0 / 260.3 MB, free: 248 kB / 250.7 MB Notification: Performance of Templates: time 0.003447/0.0129, allocations: 0.9242 MB / 261.2 MB, free: 15.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7869846876710653]