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.0008111/0.0008111, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.8706/0.8706, allocations: 177.2 MB / 200.2 MB, free: 5.949 MB / 186.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.0009549/0.0009549, allocations: 164.2 kB / 256.7 MB, free: 13.35 MB / 250.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.02188/0.02188, allocations: 6.661 MB / 319.8 MB, free: 26.78 MB / 266.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.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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 446.6 MB, free: 37.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.83e-05, allocations: 2.281 kB / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.001151/0.001169, allocations: 1.199 MB / 447.8 MB, free: 35.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 3.646e-05/0.001206, allocations: 11.97 kB / 447.8 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.001232, allocations: 0 / 447.8 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.001249, allocations: 0 / 447.8 MB, free: 35.95 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.001287, allocations: 7.875 kB / 447.8 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.515e-05/0.001332, allocations: 0 / 447.8 MB, free: 35.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.001386, allocations: 19.94 kB / 447.9 MB, free: 35.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.001432, allocations: 3.984 kB / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.001463, allocations: 4 kB / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.001506, allocations: 0 / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.001526, allocations: 0 / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.897e-06/0.00153, allocations: 0 / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.001544, allocations: 3.984 kB / 447.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.00156, allocations: 4 kB / 447.9 MB, free: 35.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.861e-05/0.001609, allocations: 19.8 kB / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00161, allocations: 0 / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.001611, allocations: 0 / 447.9 MB, free: 35.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.001615, allocations: 4 kB / 447.9 MB, free: 35.88 MB / 330.7 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.0002527/0.001868, allocations: 242.5 kB / 448.1 MB, free: 35.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.001901, allocations: 8.031 kB / 448.2 MB, free: 35.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.001926, allocations: 4.938 kB / 448.2 MB, free: 35.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.334e-05/0.001979, allocations: 101.8 kB / 448.3 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.001988, allocations: 384 / 448.3 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.001996, allocations: 384 / 448.3 MB, free: 35.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.275e-05/0.002068, allocations: 52.33 kB / 448.3 MB, free: 35.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.002076, allocations: 4.172 kB / 448.3 MB, free: 35.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002083, allocations: 4.375 kB / 448.3 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.002087, allocations: 384 / 448.3 MB, free: 35.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.461e-05/0.002102, allocations: 7.938 kB / 448.3 MB, free: 35.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.002353, allocations: 146.1 kB / 448.5 MB, free: 35.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.002388, allocations: 43.86 kB / 448.5 MB, free: 35.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.002403, allocations: 13.78 kB / 448.5 MB, free: 35.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.002412, allocations: 0 / 448.5 MB, free: 35.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-06/0.002421, allocations: 38.56 kB / 448.6 MB, free: 35.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.002422, allocations: 0 / 448.6 MB, free: 35.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001062/0.002528, allocations: 45.62 kB / 448.6 MB, free: 35.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.002551, allocations: 81.11 kB / 448.7 MB, free: 34.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.651e-05/0.002587, allocations: 97.8 kB / 448.8 MB, free: 34.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-06/0.002591, allocations: 25.7 kB / 448.8 MB, free: 34.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-06/0.002599, allocations: 80.14 kB / 448.9 MB, free: 34.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.00262, allocations: 7.953 kB / 448.9 MB, free: 34.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.002638, allocations: 14.09 kB / 448.9 MB, free: 34.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.322e-05/0.002661, allocations: 322.8 kB / 449.2 MB, free: 34.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.002669, allocations: 4 kB / 449.2 MB, free: 34.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.002678, allocations: 13.72 kB / 449.2 MB, free: 34.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.011e-05/0.002698, allocations: 17.72 kB / 449.3 MB, free: 34.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.002699, allocations: 0 / 449.3 MB, free: 34.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.837e-05/0.002728, allocations: 49.62 kB / 449.3 MB, free: 34.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.002738, allocations: 7.984 kB / 449.3 MB, free: 34.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.002742, allocations: 4.125 kB / 449.3 MB, free: 34.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.002753, allocations: 7.938 kB / 449.3 MB, free: 34.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.002837, allocations: 23.98 kB / 449.3 MB, free: 34.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005432/0.00338, allocations: 2.474 MB / 451.8 MB, free: 31.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.128e-05/0.003392, allocations: 8.031 kB / 451.8 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.003396, allocations: 0 / 451.8 MB, free: 31.55 MB / 330.7 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 3.469e-05/0.003431, allocations: 109.8 kB / 451.9 MB, free: 31.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-06/0.003435, allocations: 7.938 kB / 451.9 MB, free: 31.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-06/0.00344, allocations: 3.156 kB / 451.9 MB, free: 31.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.00344, allocations: 3.984 kB / 452 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-07/0.003441, allocations: 0 / 452 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.003443, allocations: 8.125 kB / 452 MB, free: 31.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.003557, allocations: 133.2 kB / 452.1 MB, free: 31.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.003558, allocations: 3.984 kB / 452.1 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.003619, allocations: 23.98 kB / 452.1 MB, free: 31.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.00362, allocations: 0 / 452.1 MB, free: 31.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.003626, allocations: 8 kB / 452.1 MB, free: 31.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/0.004023, allocations: 2.471 MB / 454.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.004024, allocations: 4.344 kB / 454.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.346e-05/0.004057, allocations: 73.92 kB / 454.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.004061, allocations: 4 kB / 454.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-06/0.004064, allocations: 0 / 454.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.004073, allocations: 0 / 454.7 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.004088, allocations: 7.938 kB / 454.7 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.004089, allocations: 0 / 454.7 MB, free: 28.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.115e-05/0.004101, allocations: 75.28 kB / 454.8 MB, free: 28.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004101, allocations: 4 kB / 454.8 MB, free: 28.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.004229, allocations: 4 kB / 454.8 MB, free: 28.35 MB / 330.7 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 5.406e-05/0.004283, allocations: 99.36 kB / 454.9 MB, free: 28.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.004408, allocations: 27.98 kB / 454.9 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.00441, allocations: 0 / 454.9 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.004466, allocations: 27.92 kB / 454.9 MB, free: 28.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.004572, allocations: 12.19 kB / 454.9 MB, free: 28.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.004782, allocations: 134.8 kB / 455.1 MB, free: 28.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.238e-05/0.004804, allocations: 55.36 kB / 455.1 MB, free: 27.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.516e-06/0.004813, allocations: 8.5 kB / 455.1 MB, free: 27.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.004813, allocations: 0 / 455.1 MB, free: 27.93 MB / 330.7 MB Notification: Performance of Templates: time 0.001297/0.00611, allocations: 0.7841 MB / 455.9 MB, free: 27.14 MB / 330.7 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: 4.371587844565511] Failed to read output from testmodel.py, exit status != 0: 0.009863270446658134 0.015658598 0.012821985000000001 Calling exit ...