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.0008755/0.0008755, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.915/0.915, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.00114/0.00114, allocations: 152.6 kB / 257 MB, free: 12.97 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.02482/0.02482, allocations: 6.655 MB / 266.9 MB, free: 3.23 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.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.583e-06/1.583e-06, allocations: 0 / 285.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.49e-05, allocations: 10.25 kB / 285.6 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.1054/0.1054, allocations: 1.212 MB / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.605e-05/0.1055, allocations: 9.734 kB / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1055, allocations: 0 / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1055, allocations: 0 / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.1056, allocations: 2.281 kB / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.122e-05/0.1056, allocations: 3.25 kB / 286.8 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.1057, allocations: 13.56 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1057, allocations: 3.125 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.1057, allocations: 6.344 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1058, allocations: 3.031 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1058, allocations: 0.9688 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-06/0.1058, allocations: 1.219 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1058, allocations: 1.875 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.1058, allocations: 8.094 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.932e-05/0.1059, allocations: 8.391 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1059, allocations: 0.8125 kB / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1059, allocations: 0 / 286.9 MB, free: 21.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1059, allocations: 3.781 kB / 286.9 MB, free: 21.75 MB / 266.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.0002177/0.1061, allocations: 224 kB / 287.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1061, allocations: 8.625 kB / 287.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.1062, allocations: 2.156 kB / 287.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.308e-05/0.1062, allocations: 108 kB / 287.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.1062, allocations: 1.562 kB / 287.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1062, allocations: 6.219 kB / 287.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.709e-05/0.1063, allocations: 46.38 kB / 287.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1063, allocations: 192 / 287.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.1063, allocations: 384 / 287.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1063, allocations: 1.531 kB / 287.3 MB, free: 21.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-06/0.1063, allocations: 9.328 kB / 287.3 MB, free: 21.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1065, allocations: 98.2 kB / 287.4 MB, free: 21.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.1066, allocations: 36.56 kB / 287.4 MB, free: 21.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.18e-05/0.1066, allocations: 15.31 kB / 287.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.1066, allocations: 2 kB / 287.4 MB, free: 21.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.1066, allocations: 36.77 kB / 287.5 MB, free: 21.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1066, allocations: 3.312 kB / 287.5 MB, free: 21.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.034e-05/0.1067, allocations: 39.17 kB / 287.5 MB, free: 21.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.1067, allocations: 81.7 kB / 287.6 MB, free: 21.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.385e-05/0.1067, allocations: 104.7 kB / 287.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-06/0.1067, allocations: 25.7 kB / 287.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.1067, allocations: 81.88 kB / 287.8 MB, free: 20.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1068, allocations: 5.828 kB / 287.8 MB, free: 20.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.1068, allocations: 14.05 kB / 287.8 MB, free: 20.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.416e-05/0.1068, allocations: 318.1 kB / 288.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-06/0.1068, allocations: 2.328 kB / 288.1 MB, free: 20.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.1068, allocations: 16.22 kB / 288.2 MB, free: 20.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.1068, allocations: 25 kB / 288.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1068, allocations: 1.375 kB / 288.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.172e-05/0.1069, allocations: 41.56 kB / 288.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1069, allocations: 5.219 kB / 288.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1069, allocations: 0 / 288.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1069, allocations: 2.156 kB / 288.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.107, allocations: 30.72 kB / 288.3 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000597/0.1076, allocations: 2.379 MB / 290.6 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.1076, allocations: 5 kB / 290.6 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1076, allocations: 1.406 kB / 290.6 MB, free: 18 MB / 266.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 4.003e-05/0.1076, allocations: 114.2 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.1077, allocations: 6.594 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.966e-06/0.1077, allocations: 7.109 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1077, allocations: 2.672 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1077, allocations: 1.312 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1077, allocations: 6.281 kB / 290.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.1078, allocations: 95.47 kB / 290.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1078, allocations: 1.344 kB / 290.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.1079, allocations: 29.16 kB / 290.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1079, allocations: 1.344 kB / 290.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.1079, allocations: 2.25 kB / 290.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004526/0.1083, allocations: 2.368 MB / 293.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1083, allocations: 1.734 kB / 293.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.712e-05/0.1084, allocations: 79.72 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-06/0.1084, allocations: 2.969 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-06/0.1084, allocations: 5.719 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-06/0.1084, allocations: 1.094 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1084, allocations: 2.641 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1084, allocations: 1.094 kB / 293.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.146e-06/0.1084, allocations: 7.562 kB / 293.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1084, allocations: 0 / 293.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001114/0.1085, allocations: 4.375 kB / 293.4 MB, free: 15.31 MB / 266.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 6.96e-05/0.1086, allocations: 81.48 kB / 293.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1088, allocations: 46.31 kB / 293.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1088, allocations: 1.094 kB / 293.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.362e-05/0.1089, allocations: 36.89 kB / 293.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.143e-05/0.109, allocations: 7.172 kB / 293.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1093, allocations: 113.8 kB / 293.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.813e-05/0.1093, allocations: 59.48 kB / 293.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.454e-05/0.1093, allocations: 16.36 kB / 293.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1094, allocations: 66.34 kB / 293.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1094, allocations: 3.609 kB / 293.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002342/0.1117, allocations: 0.9 MB / 294.7 MB, free: 14.89 MB / 266.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.511869562789798]