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.001408/0.001408, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.494/1.494, allocations: 230.6 MB / 253.4 MB, free: 8.309 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.001683/0.001683, allocations: 225.4 kB / 310 MB, free: 3.152 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.04209/0.04209, allocations: 8.921 MB / 375.3 MB, free: 1.906 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.002525/0.002525, allocations: 83.88 kB / 0.4904 GB, free: 6.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3503, allocations: 55.6 MB / 0.5447 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002203/0.3525, allocations: 1.202 MB / 0.5459 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 4.391e-05/0.3525, allocations: 7.328 kB / 0.5459 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.3526, allocations: 0 / 0.5459 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.3526, allocations: 0 / 0.5459 GB, free: 26.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.3526, allocations: 7 kB / 0.5459 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.289e-05/0.3527, allocations: 0 / 0.5459 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.3528, allocations: 10.81 kB / 0.5459 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.3528, allocations: 3.062 kB / 0.5459 GB, free: 26.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.3529, allocations: 10.94 kB / 0.5459 GB, free: 26.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.3529, allocations: 4 kB / 0.5459 GB, free: 26.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3529, allocations: 3.984 kB / 0.5459 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.3529, allocations: 3.094 kB / 0.5459 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.353, allocations: 4 kB / 0.5459 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.353, allocations: 7.266 kB / 0.5459 GB, free: 26.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.732e-05/0.3531, allocations: 3.188 kB / 0.546 GB, free: 26.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3531, allocations: 0 / 0.546 GB, free: 26.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3531, allocations: 3.062 kB / 0.546 GB, free: 26.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.3531, allocations: 0 / 0.546 GB, free: 26.21 MB / 382.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.0003522/0.3534, allocations: 243.9 kB / 0.5462 GB, free: 25.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3535, allocations: 9.219 kB / 0.5462 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.3535, allocations: 0.9375 kB / 0.5462 GB, free: 25.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.106e-05/0.3536, allocations: 113.7 kB / 0.5463 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3536, allocations: 384 / 0.5463 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3536, allocations: 384 / 0.5463 GB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3537, allocations: 49.83 kB / 0.5464 GB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3537, allocations: 192 / 0.5464 GB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3537, allocations: 7.938 kB / 0.5464 GB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3537, allocations: 0 / 0.5464 GB, free: 25.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.3537, allocations: 7.219 kB / 0.5464 GB, free: 25.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3542, allocations: 162.8 kB / 0.5465 GB, free: 25.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.3542, allocations: 43.67 kB / 0.5466 GB, free: 25.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.3543, allocations: 12.78 kB / 0.5466 GB, free: 25.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3543, allocations: 0 / 0.5466 GB, free: 25.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3543, allocations: 41.62 kB / 0.5466 GB, free: 25.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3543, allocations: 3.984 kB / 0.5466 GB, free: 25.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.3545, allocations: 50.72 kB / 0.5467 GB, free: 25.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3545, allocations: 81.11 kB / 0.5467 GB, free: 25.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.3545, allocations: 100.5 kB / 0.5468 GB, free: 25.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3546, allocations: 25.7 kB / 0.5469 GB, free: 25.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.876e-05/0.3546, allocations: 80.14 kB / 0.5469 GB, free: 25.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3546, allocations: 7.109 kB / 0.547 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3546, allocations: 13.72 kB / 0.547 GB, free: 25.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3547, allocations: 314.2 kB / 0.5473 GB, free: 24.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.3547, allocations: 4 kB / 0.5473 GB, free: 24.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.3547, allocations: 20.38 kB / 0.5473 GB, free: 24.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.3547, allocations: 16.16 kB / 0.5473 GB, free: 24.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3547, allocations: 0 / 0.5473 GB, free: 24.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.956e-05/0.3548, allocations: 43.02 kB / 0.5473 GB, free: 24.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3548, allocations: 7.281 kB / 0.5474 GB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3548, allocations: 7.125 kB / 0.5474 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3548, allocations: 3.938 kB / 0.5474 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.355, allocations: 26.08 kB / 0.5474 GB, free: 24.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.356, allocations: 2.526 MB / 0.5499 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.356, allocations: 0 / 0.5499 GB, free: 22.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.356, allocations: 3.281 kB / 0.5499 GB, free: 22.06 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 5.116e-05/0.3561, allocations: 110.8 kB / 0.55 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.3561, allocations: 7.156 kB / 0.55 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.3561, allocations: 7.156 kB / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3561, allocations: 0 / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3561, allocations: 3.219 kB / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3561, allocations: 0 / 0.55 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3564, allocations: 151.8 kB / 0.5501 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3564, allocations: 4 kB / 0.5501 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3566, allocations: 26 kB / 0.5502 GB, free: 21.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3566, allocations: 3.938 kB / 0.5502 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3566, allocations: 0 / 0.5502 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.3578, allocations: 2.524 MB / 0.5526 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3578, allocations: 3.281 kB / 0.5526 GB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.274e-05/0.3579, allocations: 71.05 kB / 0.5527 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.3579, allocations: 11.88 kB / 0.5527 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-06/0.3579, allocations: 0 / 0.5527 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.3579, allocations: 10.33 kB / 0.5527 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3579, allocations: 0 / 0.5527 GB, free: 19.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3579, allocations: 3.375 kB / 0.5527 GB, free: 19.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.144e-05/0.358, allocations: 79.31 kB / 0.5528 GB, free: 18.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.358, allocations: 0 / 0.5528 GB, free: 18.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.3582, allocations: 3.188 kB / 0.5528 GB, free: 18.97 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 0.0001199/0.3583, allocations: 99.59 kB / 0.5529 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3586, allocations: 29.94 kB / 0.5529 GB, free: 18.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3586, allocations: 224 / 0.5529 GB, free: 18.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3587, allocations: 26.95 kB / 0.5529 GB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.3589, allocations: 7.062 kB / 0.5529 GB, free: 18.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.3594, allocations: 126.2 kB / 0.5531 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3595, allocations: 0.6788 MB / 0.5537 GB, free: 18.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.3596, allocations: 11.56 kB / 0.5537 GB, free: 18.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3596, allocations: 0 / 0.5537 GB, free: 18.01 MB / 382.1 MB Notification: Performance of Templates: time 0.002785/0.3623, allocations: 0.7757 MB / 0.5545 GB, free: 17.98 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.741121269995347] Failed to read output from testmodel.py, exit status != 0: 0.3706277748569846 0.38117916599999996 0.02549222399999994 Calling exit ...