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.001578/0.001578, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.689/1.689, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 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.003402/0.003402, allocations: 164.4 kB / 256.3 MB, free: 13.16 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.03823/0.03823, allocations: 6.661 MB / 319.4 MB, free: 26.56 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 2.415e-06/2.415e-06, allocations: 0 / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.112e-05, allocations: 2.312 kB / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.003592/0.003633, allocations: 1.207 MB / 392.1 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 7.524e-05/0.003708, allocations: 7.984 kB / 392.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.003746, allocations: 0 / 392.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.003772, allocations: 0 / 392.1 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.00384, allocations: 3.938 kB / 392.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.352e-05/0.003933, allocations: 7.984 kB / 392.1 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.004025, allocations: 11.94 kB / 392.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.00409, allocations: 4 kB / 392.1 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.004148, allocations: 11.92 kB / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.004218, allocations: 0 / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.004238, allocations: 0 / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.111e-06/0.004244, allocations: 0 / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.004264, allocations: 0 / 392.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.004303, allocations: 7.984 kB / 392.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.78e-05/0.004381, allocations: 4 kB / 392.2 MB, free: 1.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.004387, allocations: 4 kB / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.004389, allocations: 0 / 392.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.004397, allocations: 0 / 392.2 MB, free: 1.703 MB / 314.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.0008384/0.005236, allocations: 246.4 kB / 392.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.005294, allocations: 8.031 kB / 392.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.00535, allocations: 4.938 kB / 392.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.005508, allocations: 109.7 kB / 392.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.005524, allocations: 384 / 392.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.005543, allocations: 8.359 kB / 392.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.005687, allocations: 47.92 kB / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.005696, allocations: 192 / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.00571, allocations: 8.312 kB / 392.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005716, allocations: 384 / 392.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.005749, allocations: 11.94 kB / 392.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.006329, allocations: 134.2 kB / 392.7 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.006431, allocations: 45.12 kB / 392.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.006469, allocations: 17.84 kB / 392.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.006491, allocations: 3.984 kB / 392.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.006534, allocations: 34.56 kB / 392.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.006535, allocations: 4 kB / 392.8 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.006769, allocations: 37.64 kB / 392.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.006856, allocations: 81.11 kB / 392.9 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.00698, allocations: 105.7 kB / 393.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.007004, allocations: 25.7 kB / 393.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.007071, allocations: 84.52 kB / 393.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.007106, allocations: 11.89 kB / 393.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.007162, allocations: 13.72 kB / 393.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.007352, allocations: 314.8 kB / 393.5 MB, free: 184 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.007366, allocations: 0 / 393.5 MB, free: 184 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.618e-05/0.007392, allocations: 17.7 kB / 393.5 MB, free: 160 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.007437, allocations: 17.72 kB / 393.5 MB, free: 136 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.007439, allocations: 0 / 393.5 MB, free: 136 kB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.933e-05/0.007539, allocations: 45.73 kB / 393.6 MB, free: 84 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.00756, allocations: 8.031 kB / 393.6 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.007567, allocations: 0 / 393.6 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.007594, allocations: 4 kB / 393.6 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.007821, allocations: 23.98 kB / 393.6 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.01037, allocations: 2.482 MB / 396.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.0104, allocations: 0 / 396.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01041, allocations: 4.031 kB / 396.1 MB, free: 13.36 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 0.0001247/0.01053, allocations: 109.8 kB / 396.2 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.01056, allocations: 4 kB / 396.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.01059, allocations: 7.375 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01059, allocations: 4 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.0106, allocations: 4 kB / 396.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.0106, allocations: 0 / 396.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.01097, allocations: 137.2 kB / 396.4 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01097, allocations: 3.938 kB / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.01114, allocations: 27.98 kB / 396.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.01114, allocations: 3.938 kB / 396.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01115, allocations: 4 kB / 396.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.01361, allocations: 2.471 MB / 398.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01362, allocations: 0 / 398.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.01373, allocations: 73.91 kB / 398.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.01375, allocations: 7.969 kB / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-06/0.01376, allocations: 0 / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.01378, allocations: 4 kB / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.01381, allocations: 4 kB / 399 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.01381, allocations: 0 / 399 MB, free: 10.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.01387, allocations: 79.28 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 4.219 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.01415, allocations: 4 kB / 399 MB, free: 10.16 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 0.000154/0.0143, allocations: 95.23 kB / 399.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005722/0.01487, allocations: 41 kB / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.01488, allocations: 0 / 399.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.01523, allocations: 41.16 kB / 399.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01543, allocations: 3.938 kB / 399.2 MB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.01611, allocations: 115.3 kB / 399.3 MB, free: 9.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.171e-05/0.0162, allocations: 63.34 kB / 399.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.0163, allocations: 24.11 kB / 399.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.0164, allocations: 20.47 kB / 399.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of SimCode: time 2.024e-06/0.01641, allocations: 3.938 kB / 399.4 MB, free: 9.699 MB / 330.7 MB Notification: Performance of Templates: time 0.003927/0.02033, allocations: 0.8385 MB / 400.3 MB, free: 8.863 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: 5.412022395990789]