Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.001383/0.001383, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 253.4 MB, free: 14.27 MB / 206.1 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.001548/0.001548, allocations: 212 kB / 310 MB, free: 3.09 MB / 238.1 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.04233/0.04233, allocations: 8.919 MB / 375.3 MB, free: 6.586 MB / 302.1 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.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 87.88 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07947, allocations: 55.61 MB / 0.5447 GB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002379/0.08185, allocations: 1.199 MB / 0.5458 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 3.991e-05/0.08189, allocations: 3.984 kB / 0.5458 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.08191, allocations: 0 / 0.5458 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.08193, allocations: 3.938 kB / 0.5458 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.08197, allocations: 4 kB / 0.5458 GB, free: 3.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.593e-05/0.08202, allocations: 4 kB / 0.5458 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.08207, allocations: 7.938 kB / 0.5458 GB, free: 3.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.08213, allocations: 3.984 kB / 0.5458 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.08215, allocations: 8 kB / 0.5459 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.0822, allocations: 3.938 kB / 0.5459 GB, free: 3.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.08221, allocations: 4 kB / 0.5459 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.911e-06/0.08222, allocations: 0 / 0.5459 GB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.08223, allocations: 7.922 kB / 0.5459 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.08225, allocations: 0 / 0.5459 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.246e-05/0.0823, allocations: 7.938 kB / 0.5459 GB, free: 3.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.08231, allocations: 3.984 kB / 0.5459 GB, free: 3.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08231, allocations: 4 kB / 0.5459 GB, free: 3.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.08232, allocations: 0 / 0.5459 GB, free: 3.289 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003758/0.08269, allocations: 234.5 kB / 0.5461 GB, free: 3.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.08273, allocations: 15.98 kB / 0.5461 GB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.08276, allocations: 8.875 kB / 0.5461 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.08287, allocations: 110.5 kB / 0.5462 GB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.08288, allocations: 4.375 kB / 0.5462 GB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.08289, allocations: 384 / 0.5462 GB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.083, allocations: 47.91 kB / 0.5463 GB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.083, allocations: 4.188 kB / 0.5463 GB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.08301, allocations: 3.938 kB / 0.5463 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.08302, allocations: 0 / 0.5463 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.08304, allocations: 8 kB / 0.5463 GB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.08348, allocations: 142.1 kB / 0.5464 GB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.08355, allocations: 37.12 kB / 0.5465 GB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.08359, allocations: 23.95 kB / 0.5465 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.08359, allocations: 0 / 0.5465 GB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.08362, allocations: 38.56 kB / 0.5465 GB, free: 2.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.08362, allocations: 3.938 kB / 0.5465 GB, free: 2.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.08376, allocations: 41.64 kB / 0.5466 GB, free: 2.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.08382, allocations: 85.05 kB / 0.5467 GB, free: 2.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.0839, allocations: 93.84 kB / 0.5467 GB, free: 2.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.08392, allocations: 25.7 kB / 0.5468 GB, free: 2.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.08396, allocations: 84.14 kB / 0.5469 GB, free: 2.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.08398, allocations: 4.328 kB / 0.5469 GB, free: 2.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.08402, allocations: 21.72 kB / 0.5469 GB, free: 2.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.08416, allocations: 310.8 kB / 0.5472 GB, free: 1.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-06/0.08417, allocations: 0 / 0.5472 GB, free: 1.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.0842, allocations: 21.7 kB / 0.5472 GB, free: 1.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.08423, allocations: 13.72 kB / 0.5472 GB, free: 1.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.08423, allocations: 4 kB / 0.5472 GB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.037e-05/0.0843, allocations: 41.64 kB / 0.5473 GB, free: 1.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.08431, allocations: 8.125 kB / 0.5473 GB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.08432, allocations: 4 kB / 0.5473 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.08433, allocations: 7.938 kB / 0.5473 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.08453, allocations: 31.91 kB / 0.5473 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.08644, allocations: 2.47 MB / 0.5497 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.08646, allocations: 3.984 kB / 0.5497 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.08647, allocations: 0 / 0.5497 GB, free: 14.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.435e-05/0.08655, allocations: 116.7 kB / 0.5498 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.08656, allocations: 3.938 kB / 0.5498 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.045e-05/0.08657, allocations: 3.156 kB / 0.5498 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.08657, allocations: 160 / 0.5498 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.08658, allocations: 11.94 kB / 0.5498 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.08658, allocations: 0 / 0.5498 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/0.08692, allocations: 133.3 kB / 0.55 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.08692, allocations: 0 / 0.55 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.08709, allocations: 31.98 kB / 0.55 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.0871, allocations: 3.984 kB / 0.55 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.0871, allocations: 0 / 0.55 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.08886, allocations: 2.474 MB / 0.5524 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.08886, allocations: 0 / 0.5524 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.08895, allocations: 77.91 kB / 0.5525 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-06/0.08896, allocations: 0 / 0.5525 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.08897, allocations: 3.984 kB / 0.5525 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.08899, allocations: 4 kB / 0.5525 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.08901, allocations: 3.984 kB / 0.5525 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.08901, allocations: 0 / 0.5525 GB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.137e-05/0.08905, allocations: 79.28 kB / 0.5526 GB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.08905, allocations: 0 / 0.5526 GB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000218/0.08927, allocations: 16.12 kB / 0.5526 GB, free: 11.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.111e-05/0.08936, allocations: 91.25 kB / 0.5527 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.08962, allocations: 31.91 kB / 0.5527 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08962, allocations: 0 / 0.5527 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.08978, allocations: 32.17 kB / 0.5528 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.08992, allocations: 0 / 0.5528 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.09024, allocations: 136 kB / 0.5529 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.829e-05/0.0903, allocations: 63.34 kB / 0.5529 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.09031, allocations: 7.438 kB / 0.5529 GB, free: 11.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09031, allocations: 0 / 0.5529 GB, free: 11.32 MB / 382.1 MB Notification: Performance of Templates: time 0.002544/0.09285, allocations: 0.7764 MB / 0.5537 GB, free: 10.55 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.355847708880901] Failed to read output from testmodel.py, exit status != 0: 0.09994099009782076 0.26868658199999995 0.183657241 Calling exit ...