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.0007453/0.0007453, allocations: 80.88 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 1.014/1.014, allocations: 177.2 MB / 200.3 MB, free: 5.688 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.001274/0.001274, allocations: 156.6 kB / 257 MB, free: 12.98 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.02542/0.02542, allocations: 6.662 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.322e-06/1.322e-06, allocations: 0 / 285.7 MB, free: 496 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.826e-05, allocations: 5.266 kB / 285.7 MB, free: 492 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.1219/0.122, allocations: 1.264 MB / 286.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.134e-05/0.122, allocations: 6.672 kB / 286.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.122, allocations: 0 / 286.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.122, allocations: 0 / 286.9 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.67e-05/0.1221, allocations: 6.625 kB / 286.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.418e-05/0.1221, allocations: 2.016 kB / 286.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.1222, allocations: 9.922 kB / 286.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.1222, allocations: 2.312 kB / 286.9 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.1223, allocations: 13.12 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.1223, allocations: 2.734 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1223, allocations: 0 / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-06/0.1223, allocations: 1.812 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1224, allocations: 0.7969 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.1224, allocations: 3.484 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.1224, allocations: 8.344 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1224, allocations: 0.5938 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1224, allocations: 1.781 kB / 287 MB, free: 22.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1224, allocations: 0.5 kB / 287 MB, free: 22.15 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.0002377/0.1227, allocations: 222 kB / 287.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1227, allocations: 9.969 kB / 287.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1227, allocations: 5.156 kB / 287.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.543e-05/0.1228, allocations: 106.8 kB / 287.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1228, allocations: 2.781 kB / 287.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.1228, allocations: 2.875 kB / 287.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.2e-05/0.1229, allocations: 48.94 kB / 287.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1229, allocations: 2 kB / 287.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1229, allocations: 1.906 kB / 287.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1229, allocations: 1.25 kB / 287.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.012e-05/0.1229, allocations: 9 kB / 287.4 MB, free: 21.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.1231, allocations: 99.09 kB / 287.5 MB, free: 21.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.362e-05/0.1232, allocations: 35.25 kB / 287.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.1232, allocations: 13.95 kB / 287.5 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-06/0.1232, allocations: 0.875 kB / 287.5 MB, free: 21.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.1232, allocations: 42.3 kB / 287.6 MB, free: 21.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.1232, allocations: 0.7812 kB / 287.6 MB, free: 21.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.423e-05/0.1233, allocations: 41.89 kB / 287.6 MB, free: 21.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.1233, allocations: 79.27 kB / 287.7 MB, free: 21.44 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.1234, allocations: 101.8 kB / 287.8 MB, free: 21.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.1234, allocations: 25.7 kB / 287.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-06/0.1234, allocations: 85.5 kB / 287.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1234, allocations: 7.156 kB / 287.9 MB, free: 21.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.1234, allocations: 19.69 kB / 287.9 MB, free: 21.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.1234, allocations: 317.2 kB / 288.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.1234, allocations: 1.875 kB / 288.2 MB, free: 20.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.1235, allocations: 17.69 kB / 288.3 MB, free: 20.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.099e-05/0.1235, allocations: 25.3 kB / 288.3 MB, free: 20.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1235, allocations: 0 / 288.3 MB, free: 20.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.578e-05/0.1235, allocations: 37.17 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1235, allocations: 4.906 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1235, allocations: 7.969 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1235, allocations: 1.812 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.1236, allocations: 28.77 kB / 288.4 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007066/0.1243, allocations: 2.371 MB / 290.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.1244, allocations: 1.281 kB / 290.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1244, allocations: 5.469 kB / 290.7 MB, free: 18.38 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 5.449e-05/0.1244, allocations: 116.5 kB / 290.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.1244, allocations: 7.922 kB / 290.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.1244, allocations: 7.953 kB / 290.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1244, allocations: 2.984 kB / 290.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1244, allocations: 1.344 kB / 290.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1244, allocations: 1.25 kB / 290.9 MB, free: 18.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1246, allocations: 99.05 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1246, allocations: 2.031 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.1247, allocations: 27.67 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1247, allocations: 0.875 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1247, allocations: 1.5 kB / 291 MB, free: 18.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006145/0.1253, allocations: 2.376 MB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1253, allocations: 1.844 kB / 293.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.31e-05/0.1254, allocations: 66.17 kB / 293.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.1254, allocations: 10.84 kB / 293.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-06/0.1254, allocations: 1.938 kB / 293.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.1254, allocations: 5.016 kB / 293.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1254, allocations: 7.969 kB / 293.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1254, allocations: 1.062 kB / 293.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.699e-06/0.1254, allocations: 7.688 kB / 293.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1254, allocations: 0 / 293.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.1255, allocations: 3.25 kB / 293.5 MB, free: 15.65 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 8.157e-05/0.1256, allocations: 77.89 kB / 293.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.1258, allocations: 52.89 kB / 293.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1258, allocations: 0 / 293.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.1259, allocations: 31.67 kB / 293.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.569e-05/0.126, allocations: 2.766 kB / 293.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.1264, allocations: 120.4 kB / 293.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.301e-05/0.1264, allocations: 60.56 kB / 293.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.099e-05/0.1265, allocations: 16.48 kB / 293.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.1266, allocations: 66.66 kB / 293.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1266, allocations: 1.188 kB / 293.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of Templates: time 0.002769/0.1293, allocations: 0.8991 MB / 294.8 MB, free: 15.22 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5242150090634823]